mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-11-07 17:04:34 +01:00
30 lines
520 B
YAML
30 lines
520 B
YAML
env:
|
|
- XDEBUG_MODE=coverage
|
|
|
|
language: php
|
|
|
|
php:
|
|
- 7.4
|
|
- 8.0
|
|
|
|
before_script:
|
|
- travis_retry composer self-update
|
|
- travis_retry composer install --no-interaction
|
|
- cp .env.travis .env
|
|
- nvm install node --lts
|
|
- npm install npm@latest -g
|
|
- npm install
|
|
|
|
script:
|
|
- npm run dev
|
|
- 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
|
|
- dev |