Skip to content

Commit e4407fe

Browse files
committed
Adding some laravel specific tests
1 parent 5ca972c commit e4407fe

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

.travis.yml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,21 @@ php:
77
- '7.3'
88
- '8.0'
99
- '8.1'
10-
10+
11+
env:
12+
- LARAVEL_VERSION=6.*
13+
- LARAVEL_VERSION=7.*
14+
- LARAVEL_VERSION=8.*
15+
- LARAVEL_VERSION=9.*
16+
17+
matrix:
18+
fast_finish: true
19+
1120
before_script:
12-
- composer self-update
13-
- composer install --no-interaction
14-
- pear install pear/PHP_CodeSniffer
15-
- phpenv rehash
21+
- travis_retry composer self-update
22+
- travis_retry composer install --prefer-source --no-interaction
23+
- if [ "$LARAVEL_VERSION" != "" ]; then composer require --dev "laravel/laravel:${LARAVEL_VERSION}" --no-update; fi;
24+
- composer update
1625

1726
script:
1827
- vendor/bin/phpunit --coverage-text

0 commit comments

Comments
 (0)