This repository was archived by the owner on Oct 6, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,7 @@ script:
61
61
- ./run-tests.sh ~7.3.0 || travis_terminate 1
62
62
- ./run-tests.sh ~7.4.0 || travis_terminate 1
63
63
- ./run-tests.sh ~7.5.0 || travis_terminate 1
64
+ - ./run-tests.sh ~8.0.0 || travis_terminate 1
64
65
65
66
jobs :
66
67
include :
Original file line number Diff line number Diff line change 11
11
],
12
12
"require" : {
13
13
"php" : " ^5.5 || ^7.0" ,
14
- "phpunit/phpunit" : " ~4.0.0 || ~4.1.0 || ~4.2.0 || ~4.3.0 || ~4.4.0 || ~4.5.0 || ~4.6.0 || ~4.8.0 || ~5.3.0 || ~5.4.0 || ~5.5.0 || ~5.6.0 || ~5.7.0 || ~6.0.0 || ~6.1.0 || ~6.2.0 || ~6.3.0 || ~6.4.0 || ~6.5.0 || ~7.0.0 || ~7.1.0 || ~7.2.6 || ~7.3.0 || ~7.4.0 || ~7.5.0"
14
+ "phpunit/phpunit" : " ~4.0.0 || ~4.1.0 || ~4.2.0 || ~4.3.0 || ~4.4.0 || ~4.5.0 || ~4.6.0 || ~4.8.0 || ~5.3.0 || ~5.4.0 || ~5.5.0 || ~5.6.0 || ~5.7.0 || ~6.0.0 || ~6.1.0 || ~6.2.0 || ~6.3.0 || ~6.4.0 || ~6.5.0 || ~7.0.0 || ~7.1.0 || ~7.2.6 || ~7.3.0 || ~7.4.0 || ~7.5.0 || ~8.0.0 "
15
15
},
16
16
"conflict" : {
17
17
"hhvm" : " *"
Original file line number Diff line number Diff line change @@ -15,7 +15,15 @@ echo -e "\e[46m§ Trying to execute tests under PHPUnit ${PHPUNIT}.\e[0m"
15
15
rm -f composer.lock
16
16
17
17
echo -e " \n\e[46m§ Installing deps...\e[0m"
18
+ if [ ${PHPUNIT: 1: 1} == 8 ]
19
+ then
20
+ composer require -q --dev --no-update friendsofphp/php-cs-fixer || return 0
21
+ fi
18
22
composer require -q --dev --no-update phpunit/phpunit:${PHPUNIT} && composer update -q $DEFAULT_COMPOSER_FLAGS && INSTALLED=1 || INSTALLED=0
23
+ if [ $INSTALLED == 1 ] && [ ${PHPUNIT: 1: 1} == 8 ]
24
+ then
25
+ PHP_CS_FIXER_FUTURE_MODE=1 vendor/bin/php-cs-fixer fix --rules=void_return -q tests
26
+ fi
19
27
git checkout composer.json
20
28
21
29
if [ $INSTALLED == 0 ]
You can’t perform that action at this time.
0 commit comments