Configure test matrix
This commit is contained in:
+13
-7
@@ -1,7 +1,13 @@
|
|||||||
language: php
|
language: php
|
||||||
php:
|
php:
|
||||||
- '7.2'
|
- '7.2'
|
||||||
- '7.3'
|
- '7.3'
|
||||||
|
|
||||||
|
matrix:
|
||||||
|
include:
|
||||||
|
- php: 7.2
|
||||||
|
- php: 7.3
|
||||||
|
fast_finish: true
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
@@ -18,13 +24,13 @@ install:
|
|||||||
- composer install --dev --no-interaction --verbose
|
- composer install --dev --no-interaction --verbose
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- php artisan database:create --reset
|
- php artisan database:create --reset
|
||||||
- php artisan migrate:refresh --seed
|
- php artisan migrate:refresh --seed
|
||||||
- cp .travis/phpunit.travis.xml phpunit.xml
|
- cp .travis/phpunit.travis.xml phpunit.xml
|
||||||
- vendor/bin/phpunit --debug --verbose
|
- vendor/bin/phpunit --debug --verbose
|
||||||
|
|
||||||
after_failure:
|
after_failure:
|
||||||
- cat storage/logs/*.log
|
- cat storage/logs/*.log
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
include:
|
include:
|
||||||
|
|||||||
Reference in New Issue
Block a user