File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change 1+ dist : trusty
12language : php
23
3- dist : trusty
4+ # This triggers builds to run on the new TravisCI infrastructure.
5+ # See: http://docs.travis-ci.com/user/workers/container-based-infrastructure/
6+ sudo : false
47
58php :
69 - 7.1
@@ -11,15 +14,18 @@ matrix:
1114
1215env :
1316 global :
14- - DEFAULT_COMPOSER_FLAGS ="--no-interaction --no-ansi --no-progress --no-suggest "
17+ - COMPOSER_FLAGS ="--prefer-stable --prefer-lowest "
1518
1619before_script :
17- - composer install
20+ - travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-dist
1821
1922addons :
2023 sonarcloud :
2124 organization : " dcsg-github"
2225
2326script :
27+ - vendor/bin/phpcs --standard=psr2 src/
2428 - vendor/bin/phpunit --coverage-clover=/tmp/coverage.xml --log-junit=/tmp/test-results.xml
29+
30+ after_script :
2531 - sonar-scanner
You can’t perform that action at this time.
0 commit comments