File tree Expand file tree Collapse file tree 3 files changed +13
-10
lines changed Expand file tree Collapse file tree 3 files changed +13
-10
lines changed Original file line number Diff line number Diff line change 11language : php
22
3+ sudo : false
4+
35php :
46 - 7.0
57 - 7.1
@@ -13,20 +15,18 @@ matrix:
1315
1416env :
1517 matrix :
16- - DRIVER="xdebug" DEPENDENCIES="high"
17- - DRIVER="phpdbg" DEPENDENCIES="high"
18- - DRIVER="xdebug" DEPENDENCIES="low"
19- - DRIVER="phpdbg" DEPENDENCIES="low"
20-
21- sudo : false
18+ - DEPENDENCIES="high"
19+ - DEPENDENCIES="low"
20+ global :
21+ - DEFAULT_COMPOSER_FLAGS="--no-interaction --no-ansi --no-progress --no-suggest"
2222
2323before_install :
2424 - composer self-update
2525 - composer clear-cache
2626
2727install :
28- - if [[ "$DEPENDENCIES" = 'high' ]]; then travis_retry composer update --no-interaction --no-ansi --no-progress --no-suggest --optimize-autoloader --prefer-stable ; fi
29- - if [[ "$DEPENDENCIES" = 'low' ]]; then travis_retry composer update --no-interaction --no-ansi --no-progress --no-suggest --optimize-autoloader --prefer-stable --prefer-lowest; fi
28+ - if [[ "$DEPENDENCIES" = 'high' ]]; then travis_retry composer update $DEFAULT_COMPOSER_FLAGS ; fi
29+ - if [[ "$DEPENDENCIES" = 'low' ]]; then travis_retry composer update $DEFAULT_COMPOSER_FLAGS --prefer-lowest; fi
3030
3131script :
3232 - if [[ "$DRIVER" = 'phpdbg' ]]; then phpdbg -qrr vendor/bin/phpunit --coverage-clover=coverage.xml; fi
Original file line number Diff line number Diff line change 1414 <arg value =" --no-progress" />
1515 <arg value =" --no-ansi" />
1616 <arg value =" --no-suggest" />
17- <arg value =" --optimize-autoloader" />
18- <arg value =" --prefer-stable" />
1917 </exec >
2018 </target >
2119</project >
Original file line number Diff line number Diff line change 2020 "issues" : " https://github.com/sebastianbergmann/php-code-coverage/issues" ,
2121 "irc" : " irc://irc.freenode.net/phpunit"
2222 },
23+ "config" : {
24+ "optimize-autoloader" : true ,
25+ "sort-packages" : true
26+ },
27+ "prefer-stable" : true ,
2328 "require" : {
2429 "php" : " ^7.0" ,
2530 "ext-dom" : " *" ,
You can’t perform that action at this time.
0 commit comments