mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-11-26 10:15:40 +01:00
28 lines
512 B
YAML
28 lines
512 B
YAML
language: php
|
|
|
|
php:
|
|
- 7.3
|
|
- 7.4
|
|
|
|
before_script:
|
|
- cp .env.travis .env
|
|
- travis_retry composer self-update
|
|
- travis_retry composer install --no-interaction
|
|
- php artisan key:generate
|
|
- nvm install node
|
|
- 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 |