File tree Expand file tree Collapse file tree 4 files changed +19
-27
lines changed Expand file tree Collapse file tree 4 files changed +19
-27
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ checks:
20
20
tools :
21
21
external_code_coverage :
22
22
timeout : 600
23
- runs : 9
23
+ runs : 4
24
24
25
25
build :
26
26
nodes :
Original file line number Diff line number Diff line change @@ -2,38 +2,27 @@ language: php
2
2
3
3
matrix :
4
4
include :
5
- - php : " 7.1"
6
- env : LARAVEL_VERSION="5.5.*"
7
- - php : " 7.2"
8
- env : LARAVEL_VERSION="5.5.*"
9
- - php : " 7.2"
10
- env : LARAVEL_VERSION="5.6.*"
11
- - php : " 7.2"
12
- env : LARAVEL_VERSION="5.7.*"
13
- - php : " 7.2"
14
- env : LARAVEL_VERSION="5.8.*"
15
5
- php : " 7.2"
16
6
env : LARAVEL_VERSION="^6.0" RUN_CS_FIXER=1
17
7
- php : " 7.3"
18
8
env : LARAVEL_VERSION="^7.0"
19
- - php : " 7.3"
20
- env : LARAVEL_VERSION="^8.0"
21
9
- php : " 7.4"
22
10
env : LARAVEL_VERSION="^8.0"
23
-
24
- sudo : false
11
+ - php : " 8.0 "
12
+ env : LARAVEL_VERSION="^9.0"
25
13
26
14
install :
27
- - composer require "illuminate/http:${LARAVEL_VERSION}" "illuminate/routing:${LARAVEL_VERSION}" "illuminate/support :${LARAVEL_VERSION}" --no-update --no-interaction
28
- - travis_retry composer install --no-interaction --prefer-dist
15
+ - composer require "laravel/framework :${LARAVEL_VERSION}" --no-update --no-interaction
16
+ - travis_retry composer update --no-interaction --prefer-dist
29
17
30
18
script :
31
19
- if [ "$RUN_CS_FIXER" ] ; then vendor/bin/php-cs-fixer fix -v --dry-run --using-cache=no ; fi
32
- - vendor/bin/phpunit --coverage-text --coverage-clover=coverage.xml
20
+ - vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover
33
21
34
22
after_script :
35
- - wget https://scrutinizer-ci.com/ocular.phar
36
- - php ocular.phar code-coverage:upload --format=php-clover coverage.xml
23
+ - |
24
+ composer global require --no-interaction --prefer-dist scrutinizer/ocular
25
+ ~/.config/composer/vendor/bin/ocular code-coverage:upload --format=php-clover coverage.clover
37
26
38
27
branches :
39
28
only : master
Original file line number Diff line number Diff line change @@ -6,7 +6,12 @@ Updates should follow the [Keep a CHANGELOG](http://keepachangelog.com/) princip
6
6
7
7
## [ Unreleased]
8
8
9
- - Nothing
9
+ ### Added
10
+ * Added support for Laravel 9.
11
+
12
+ ### Removed
13
+ * Removed support for Laravel <6.
14
+ * Removed support for PHP <7.2.
10
15
11
16
## 1.4.0 - 2020-09-30
12
17
Original file line number Diff line number Diff line change 17
17
}
18
18
],
19
19
"require" : {
20
- "php" : " >=7.1.3 " ,
20
+ "php" : " ^7.2|^8.0 " ,
21
21
"ext-json" : " *" ,
22
- "illuminate/http" : " ^5.5|^6.0|^7.0|^8.0" ,
23
- "illuminate/routing" : " ^5.5|^6.0|^7.0|^8.0" ,
24
- "illuminate/support" : " ^5.5|^6.0|^7.0|^8.0"
22
+ "laravel/framework" : " ^6.0|^7.0|^8.0|^9.0"
25
23
},
26
24
"require-dev" : {
27
25
"friendsofphp/php-cs-fixer" : " ^3.0" ,
28
- "graham-campbell/testbench" : " ^5.3 " ,
29
- "phpunit/phpunit" : " ^6 .5|^7.0|^8.0 "
26
+ "graham-campbell/testbench" : " ^5.7 " ,
27
+ "phpunit/phpunit" : " ^7 .5|^8.5|^9.5 "
30
28
},
31
29
"autoload" : {
32
30
"psr-4" : {
You can’t perform that action at this time.
0 commit comments