File tree 3 files changed +38
-11
lines changed
3 files changed +38
-11
lines changed Original file line number Diff line number Diff line change 4
4
- 7.1
5
5
- 7.2
6
6
- 7.3
7
+ - 7.4
7
8
8
9
env :
9
- matrix :
10
- - COMPOSER_FLAGS="--prefer-lowest"
11
- - COMPOSER_FLAGS=""
10
+ - LARAVEL="^5.5" COMPOSER_FLAGS="--prefer-lowest"
11
+ - LARAVEL="^5.5" COMPOSER_FLAGS=""
12
+ - LARAVEL="^6.0" COMPOSER_FLAGS="--prefer-lowest"
13
+ - LARAVEL="^6.0" COMPOSER_FLAGS=""
14
+ - LARAVEL="^7.0" COMPOSER_FLAGS="--prefer-lowest"
15
+ - LARAVEL="^7.0" COMPOSER_FLAGS=""
12
16
13
- before_script :
14
- - travis_retry composer self-update
15
- - travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-source
17
+ matrix :
18
+ exclude :
19
+ - php : 7.1
20
+ env : LARAVEL="^6.0" COMPOSER_FLAGS="--prefer-lowest"
21
+ - php : 7.1
22
+ env : LARAVEL="^6.0" COMPOSER_FLAGS=""
23
+ - php : 7.1
24
+ env : LARAVEL="^7.0" COMPOSER_FLAGS="--prefer-lowest"
25
+ - php : 7.1
26
+ env : LARAVEL="^7.0" COMPOSER_FLAGS=""
27
+ allow_failures :
28
+ - php : 7.4
29
+ env : LARAVEL="^5.5" COMPOSER_FLAGS="--prefer-lowest"
30
+ - php : 7.4
31
+ env : LARAVEL="^6.0" COMPOSER_FLAGS="--prefer-lowest"
32
+
33
+ cache :
34
+ directories :
35
+ - $HOME/.composer/cache/files
36
+
37
+ before_install :
38
+ - echo "memory_limit=2G" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
39
+
40
+ install :
41
+ - travis_retry composer require laravel/framework:${LARAVEL} --no-interaction --prefer-dist
42
+ - travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-dist
16
43
17
44
script :
18
45
- vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover
Original file line number Diff line number Diff line change 17
17
],
18
18
"require" : {
19
19
"php" : " ^7.1" ,
20
- "illuminate/support" : " ^5.5|^6 "
20
+ "illuminate/support" : " ^5.5 || ^6.0 || ^7.0 "
21
21
},
22
22
"require-dev" : {
23
- "orchestra/testbench" : " 3.6.* " ,
24
- "phpunit/phpunit" : " ^7.0"
23
+ "orchestra/testbench" : " ^3.0 || ^4.0 || ^5.0 " ,
24
+ "phpunit/phpunit" : " ^7.0 || ^8.0 || ^9.0 "
25
25
},
26
26
"autoload" : {
27
27
"psr-4" : {
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ abstract class TestCase extends \Orchestra\Testbench\TestCase
12
12
{
13
13
protected static $ setUpRun = false ;
14
14
15
- public function setUp ()
15
+ public function setUp (): void
16
16
{
17
17
parent ::setUp ();
18
18
@@ -79,4 +79,4 @@ protected function setUpDatabase()
79
79
$ table ->morphs ('commentable ' );
80
80
});
81
81
}
82
- }
82
+ }
You can’t perform that action at this time.
0 commit comments