File tree Expand file tree Collapse file tree 2 files changed +19
-8
lines changed Expand file tree Collapse file tree 2 files changed +19
-8
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 :
Original file line number Diff line number Diff line change 5
5
"require" : {
6
6
"php" : " >=7.0" ,
7
7
"art4/json-api-client" : " ^0.9.1" ,
8
- "illuminate/support" : " 5.3.*|5.4.*|5.5.*" ,
8
+ "illuminate/support" : " 5.3.*|5.4.*|5.5.*|5.6.* " ,
9
9
"jenssegers/model" : " ^1.1" ,
10
10
"php-http/client-implementation" : " ^1.0" ,
11
11
"php-http/discovery" : " ^1.0"
12
12
},
13
13
"require-dev" : {
14
14
"fzaninotto/faker" : " ^1.6" ,
15
15
"friendsofphp/php-cs-fixer" : " ^2.0" ,
16
- "graham-campbell/testbench" : " ^4.0" ,
17
- "phpunit/phpunit" : " ^6.1" ,
16
+ "graham-campbell/testbench" : " ^4.0|^5.1 " ,
17
+ "phpunit/phpunit" : " ^6.1|^7.0 " ,
18
18
"php-http/guzzle6-adapter" : " ^1.1" ,
19
19
"php-http/mock-client" : " ^1.1"
20
20
},
You can’t perform that action at this time.
0 commit comments