File tree Expand file tree Collapse file tree 1 file changed +22
-22
lines changed
Expand file tree Collapse file tree 1 file changed +22
-22
lines changed Original file line number Diff line number Diff line change 11language : php
22
3- php :
4- - 7.0
5-
63sudo : false
74
5+ cache :
6+ directories :
7+ - $HOME/.composer/cache/files
8+
9+ php :
10+ - 7.1
11+ - 7.2
12+
813env :
914 global :
10- - DEFAULT=1
11- - secure : j+1g/twymlVnvpQlsdS+82IY3xR8GIBB7m8bEmpYP6J1ketRToJWANDre6Xb/33JHEzekcr5Kt0F2UDkNzR5rNbviHqYH4EyHA7VZTikqSSelY+lZF7qo1xTyGRnCJZV6c2bri/rPVSjw1FYngNFh5FGCh7PmpzzeQZkhyCG3Cs=
15+ - secure : j+1g/twymlVnvpQlsdS+82IY3xR8GIBB7m8bEmpYP6J1ketRToJWANDre6Xb/33JHEzekcr5Kt0F2UDkNzR5rNbviHqYH4EyHA7VZTikqSSelY+lZF7qo1xTyGRnCJZV6c2bri/rPVSjw1FYngNFh5FGCh7PmpzzeQZkhyCG3Cs=
1216
1317matrix :
1418 fast_finish : true
19+ allow_failures :
20+ - php : 7.2
1521
16- include :
17- - php : 7
18- env : PHPCS=1 DEFAULT=0
19-
20- - php : 7
21- env : COVERALLS=1 DEFAULT=0
22+ before_install :
23+ - composer self-update
24+ - if [ "$GITHUB_COMPOSER_AUTH" ]; then composer config -g github-oauth.github.com $GITHUB_COMPOSER_AUTH; fi
2225
2326install :
24- - composer self-update
25- - composer config -g github-oauth.github.com $GITHUB_COMPOSER_AUTH
26- - composer install --prefer-dist --no-interaction --dev
27+ - composer install --prefer-dist --no-interaction
2728
2829before_script :
29- - sh -c "if [ '$PHPCS' = '1' ]; then composer require squizlabs/php_codesniffer:dev-master; fi"
30-
31- - sh -c "if [ '$COVERALLS' = '1' ]; then composer require --dev satooshi/php-coveralls:dev-master; fi"
32- - sh -c "if [ '$COVERALLS' = '1' ]; then mkdir -p build/logs; fi"
30+ - mkdir -p build/logs
3331
3432script :
35- - sh -c "if [ '$COVERALLS' = '1' ]; then phpunit --stderr --coverage-clover build/logs/clover.xml; fi"
36- - sh -c "if [ '$COVERALLS' = '1' ]; then php vendor/bin/coveralls -v; fi"
37- - sh -c "if [ '$DEFAULT' = '1' ]; then phpunit --stderr; fi"
38- - sh -c "if [ '$PHPCS' = '1' ]; then ./vendor/bin/phpcs -n -p --extensions=php --standard=PSR2 --ignore=vendor --ignore=tests . ; fi"
33+ - vendor/bin/php-cs-fixer fix --diff --dry-run
34+ - vendor/bin/phpcs -s --config-set ignore_warnings_on_exit 1
35+ - vendor/bin/phpunit --stderr --coverage-clover build/coverage/xml
36+
37+ after_script :
38+ - vendor/bin/codacycoverage clover build/coverage/xml
3939
4040notifications :
4141 email : false
You can’t perform that action at this time.
0 commit comments