2FAuth/.travis.yml

28 lines
512 B
YAML
Raw Normal View History

2019-05-23 14:02:29 +02:00
language: php
php:
- 7.2
- 7.3
2019-05-23 14:02:29 +02:00
before_script:
- cp .env.travis .env
- travis_retry composer self-update
- travis_retry composer install --no-interaction
2019-05-23 14:02:29 +02:00
- php artisan key:generate
- nvm install node
- npm install npm@latest -g
- npm install
2019-05-23 14:02:29 +02:00
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