File tree Expand file tree Collapse file tree 3 files changed +23
-5
lines changed Expand file tree Collapse file tree 3 files changed +23
-5
lines changed Original file line number Diff line number Diff line change @@ -3,14 +3,32 @@ language: php
3
3
php :
4
4
- 7.1
5
5
- 7.2
6
+ - 7.3
6
7
7
8
env :
9
+ global :
10
+ - ILLUMINATE_VERSION=""
11
+ - TESTBENCH_VERSION=""
12
+
8
13
matrix :
9
14
- COMPOSER_FLAGS="--prefer-lowest"
10
15
- COMPOSER_FLAGS=""
16
+ - ILLUMINATE_VERSION="5.7.*" TESTBENCH_VERSION="3.7.*"
17
+ - ILLUMINATE_VERSION="5.8.*" TESTBENCH_VERSION="3.8.*"
18
+ - ILLUMINATE_VERSION="6.*" TESTBENCH_VERSION="4.*"
19
+
20
+ matrix :
21
+ exclude :
22
+ - php : 7.1
23
+ env : ILLUMINATE_VERSION="6.*" TESTBENCH_VERSION="4.*"
11
24
12
25
before_script :
13
26
- travis_retry composer self-update
27
+ - if [ "$ILLUMINATE_VERSION" != "" ] && [ "$TESTBENCH_VERSION" != "" ]; then
28
+ composer require "illuminate/http:${ILLUMINATE_VERSION}" --no-update;
29
+ composer require "illuminate/support:${ILLUMINATE_VERSION}" --no-update;
30
+ composer require "orchestra/testbench:${TESTBENCH_VERSION}" --no-update;
31
+ fi
14
32
- travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-source
15
33
16
34
script :
Original file line number Diff line number Diff line change 17
17
],
18
18
"require" : {
19
19
"php" : " ^7.1" ,
20
- "illuminate/http" : " 5.6.*|5.7.*" ,
21
- "illuminate/support" : " 5.6.*|5.7.*" ,
20
+ "illuminate/http" : " 5.6.*|5.7.*|5.8.*|6.* " ,
21
+ "illuminate/support" : " 5.6.*|5.7.*|5.8.*|6.* " ,
22
22
"intervention/image" : " ^2.4"
23
23
},
24
24
"require-dev" : {
25
- "phpunit/phpunit" : " ^7.0" ,
26
- "orchestra/testbench" : " 3.7.* "
25
+ "phpunit/phpunit" : " ^7.0|^8.0 " ,
26
+ "orchestra/testbench" : " ^ 3.7|^4.0 "
27
27
},
28
28
"autoload" : {
29
29
"psr-4" : {
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ class FaviconTest extends \Orchestra\Testbench\TestCase
10
10
/** @var Favicon */
11
11
protected $ favicon ;
12
12
13
- public function setUp ()
13
+ public function setUp (): void
14
14
{
15
15
parent ::setUp ();
16
16
You can’t perform that action at this time.
0 commit comments