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
1
2
language : php
2
3
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
4
7
5
8
php :
6
9
- 7.1
@@ -11,15 +14,18 @@ matrix:
11
14
12
15
env :
13
16
global :
14
- - DEFAULT_COMPOSER_FLAGS ="--no-interaction --no-ansi --no-progress --no-suggest "
17
+ - COMPOSER_FLAGS ="--prefer-stable --prefer-lowest "
15
18
16
19
before_script :
17
- - composer install
20
+ - travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-dist
18
21
19
22
addons :
20
23
sonarcloud :
21
24
organization : " dcsg-github"
22
25
23
26
script :
27
+ - vendor/bin/phpcs --standard=psr2 src/
24
28
- vendor/bin/phpunit --coverage-clover=/tmp/coverage.xml --log-junit=/tmp/test-results.xml
29
+
30
+ after_script :
25
31
- sonar-scanner
You can’t perform that action at this time.
0 commit comments