File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 directories :
1616 - $HOME/.composer/cache/files
1717 - tmp/pear/download/
18+ - vendor/
1819addons :
1920 code_climate :
2021 repo_token : $CODECLIMATE_REPO_TOKEN
@@ -24,10 +25,12 @@ before_script:
2425 - pear install pear/XML_RPC2
2526 - phpenv rehash
2627 - travis_retry composer self-update
27- - travis_retry composer install --no-interaction --dev --prefer-dist
28+ - travis_retry composer install --no-interaction --dev --prefer-source
2829script :
29- - if [ "$TRAVIS_PHP_VERSION" = "7.0" ]; then phpdbg -qrr vendor/bin/phpunit --bootstrap tests/bootstrap.php tests/ -v --coverage-clover build/logs/clover.xml --whitelist src/; else vendor/bin/phpunit --bootstrap tests/bootstrap.php tests/ -v; fi
30+ - if [ "$TRAVIS_PHP_VERSION" = "7.0" ]; then phpdbg -qrr vendor/bin/phpunit --bootstrap tests/bootstrap.php tests/ -v --coverage-clover coverage.xml --whitelist src/; fi;
31+ - if [ "$TRAVIS_PHP_VERSION" != "7.0" ]; then vendor/bin/phpunit --bootstrap tests/bootstrap.php tests/ -v; fi
3032after_success :
31- - if [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_PHP_VERSION" == "7.0" ]; then travis_retry vendor/bin/test-reporter --coverage-report=build/logs/clover.xml; fi
32- - if [ "$TRAVIS_PHP_VERSION" = "7.0" ]; then travis_retry php vendor/bin/coveralls -v --coverage_clover=build/logs/clover.xml; fi;
33- - if [ "$TRAVIS_PHP_VERSION" = "7.0" ]; then travis_retry php vendor/bin/codacycoverage clover build/logs/clover.xml; fi;
33+ - if [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_PHP_VERSION" == "7.0" ]; then travis_retry vendor/bin/test-reporter --coverage-report=coverage.xml; fi
34+ - if [ "$TRAVIS_PHP_VERSION" = "7.0" ]; then travis_retry bash <(curl -s https://codecov.io/bash); fi;
35+ - if [ "$TRAVIS_PHP_VERSION" = "7.0" ]; then travis_retry php vendor/bin/coveralls -v --coverage_clover=coverage.xml; fi;
36+ - if [ "$TRAVIS_PHP_VERSION" = "7.0" ]; then travis_retry php vendor/bin/codacycoverage clover coverage.xml; fi;
You can’t perform that action at this time.
0 commit comments