2022-03-31 12:03:18 +02:00
|
|
|
env:
|
|
|
|
- XDEBUG_MODE=coverage
|
|
|
|
|
2019-05-23 14:02:29 +02:00
|
|
|
language: php
|
|
|
|
|
|
|
|
php:
|
2020-10-12 18:50:39 +02:00
|
|
|
- 7.4
|
2022-03-31 09:34:41 +02:00
|
|
|
- 8.0
|
2019-05-23 14:02:29 +02:00
|
|
|
|
|
|
|
before_script:
|
2020-03-12 08:51:03 +01:00
|
|
|
- travis_retry composer self-update
|
|
|
|
- travis_retry composer install --no-interaction
|
2022-03-31 12:16:16 +02:00
|
|
|
- cp .env.travis .env
|
2022-03-31 09:34:41 +02:00
|
|
|
- nvm install node --lts
|
2020-03-05 22:08:47 +01:00
|
|
|
- npm install npm@latest -g
|
|
|
|
- npm install
|
2019-05-23 14:02:29 +02:00
|
|
|
|
|
|
|
script:
|
2020-03-05 22:08:47 +01:00
|
|
|
- npm run dev
|
2020-03-12 08:51:03 +01:00
|
|
|
- vendor/bin/phpunit --coverage-clover=coverage.xml
|
|
|
|
|
|
|
|
after_success:
|
|
|
|
# Submit coverage report to https://codecov.io
|
|
|
|
- bash <(curl -s https://codecov.io/bash)
|
|
|
|
|
|
|
|
# Monitor only these branches
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
2022-03-31 09:55:59 +02:00
|
|
|
- dev
|