Skip to content

Commit

Permalink
Merge pull request #7940 from cakephp/fix-coveralls
Browse files Browse the repository at this point in the history
Making coveralls work again
  • Loading branch information
lorenzo committed Jan 2, 2016
2 parents 9cc1356 + 9776593 commit 32462c2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Expand Up @@ -29,7 +29,7 @@ matrix:
fast_finish: true

include:
- php: 5.6
- php: 7.0
env: COVERALLS=1 DEFAULT=0

- php: 7.0
Expand All @@ -47,7 +47,7 @@ matrix:
- php: hhvm

before_script:
- rm -f ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini
- sh -c "if [ '$HHVM' != '1' ]; then phpenv config-rm xdebug.ini; fi"
- composer self-update
- if [ -n "$GH_TOKEN" ]; then composer config github-oauth.github.com ${GH_TOKEN}; fi;
- composer install --prefer-dist --no-interaction
Expand All @@ -74,7 +74,7 @@ script:

- sh -c "if [ '$PHPCS' = '1' ]; then vendor/bin/phpcs -p --extensions=php --standard=vendor/cakephp/cakephp-codesniffer/CakePHP ./src ./tests; fi"

- sh -c "if [ '$COVERALLS' = '1' ]; then phpunit --coverage-clover build/logs/clover.xml; fi"
- sh -c "if [ '$COVERALLS' = '1' ]; then phpdbg -qrr vendor/bin/phpunit --coverage-clover build/logs/clover.xml || true; fi"
- sh -c "if [ '$COVERALLS' = '1' ]; then vendor/bin/coveralls -c .coveralls.yml -v; fi"

notifications:
Expand Down

0 comments on commit 32462c2

Please sign in to comment.