File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed
Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change 11language : php
2-
2+ stages :
3+ - test
4+ -
35php :
46 - 5.6
57 - 7.0
68 - 7.1
79 - 7.2
810 - 7.3
9-
1011# faster builds on new travis setup not using sudo
1112sudo : false
1213
1314install :
1415 - ' [[ -z "$CI_USER_TOKEN" ]] || composer config github-oauth.github.com ${CI_USER_TOKEN};'
1516 - travis_retry composer self-update && composer --version
16- - travis_retry composer update --prefer-dist --no-interaction
17-
17+ - travis_retry composer install --prefer-dist --no-interaction
18+ - phpenv config-rm xdebug.ini
19+ - if [[ "$TRAVIS_PHP_VERSION" == "7.3" ]]; then pecl install -f pcov; fi
20+
1821script :
1922 - php ./vendor/bin/codecept run
23+ - if [[ "$TRAVIS_PHP_VERSION" == "7.3" ]]; then php ./vendor/bin/codecept run --coverage-xml; fi
24+ after_script :
25+ - if [[ "$TRAVIS_PHP_VERSION" == "7.3" ]]; then wget https://scrutinizer-ci.com/ocular.phar; php ocular.phar code-coverage:upload --format=php-clover tests/_output/coverage.xml -f pcov; fi
You can’t perform that action at this time.
0 commit comments