Skip to content

Commit

Permalink
Travis fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
jasny committed Sep 3, 2019
1 parent 4fcc506 commit 30dab7d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,11 @@ install:

before_script:
- test "$TRAVIS_ALLOW_FAILURE" == "true" || export PHPUNIT_FLAGS="--coverage-clover cache/logs/clover.xml"
- export HAS_XDEBUG=$(php -m | grep -i xdebug)

script:
- vendor/bin/phpunit $PHPUNIT_FLAGS
- test -z "$HAS_XDEBUG" || vendor/bin/infection --only-covered --no-progress --no-interaction --threads=4

after_script:
- test "$TRAVIS_ALLOW_FAILURE" == "true" || vendor/bin/infection --only-covered --no-progress --no-interaction --threads=4
- test "$TRAVIS_ALLOW_FAILURE" == "true" || php "$HOME/ocular.phar" code-coverage:upload --format=php-clover cache/logs/clover.xml

0 comments on commit 30dab7d

Please sign in to comment.