File tree Expand file tree Collapse file tree 1 file changed +16
-5
lines changed Expand file tree Collapse file tree 1 file changed +16
-5
lines changed Original file line number Diff line number Diff line change 1
1
language : php
2
2
3
- php :
4
- - ' 7.0'
5
- - ' 7.1'
6
- - ' 7.2'
3
+ matrix :
4
+ include :
5
+ - php : " 7.0"
6
+ env : LARAVEL_VERSION="5.3.*"
7
+ - php : " 7.0"
8
+ env : LARAVEL_VERSION="5.4.*"
9
+ - php : " 7.0"
10
+ env : LARAVEL_VERSION="5.5.*"
11
+ - php : " 7.1"
12
+ env : LARAVEL_VERSION="5.5.*"
13
+ - php : " 7.2"
14
+ env : LARAVEL_VERSION="5.5.*"
15
+ - php : " 7.2"
16
+ env : LARAVEL_VERSION="5.6.*" RUN_CS_FIXER=1
7
17
8
18
sudo : false
9
19
10
20
install :
21
+ - composer require "illuminate/support:${LARAVEL_VERSION}" --no-update --no-interaction
11
22
- travis_retry composer install --no-interaction --prefer-dist
12
23
13
24
script :
14
- - vendor/bin/php-cs-fixer fix -v --dry-run --using-cache=no
25
+ - if [ "$RUN_CS_FIXER" ] ; then vendor/bin/php-cs-fixer fix -v --dry-run --using-cache=no ; fi
15
26
- vendor/bin/phpunit --coverage-text --coverage-clover=coverage.xml
16
27
17
28
after_script :
You can’t perform that action at this time.
0 commit comments