Skip to content
This repository has been archived by the owner on Nov 24, 2021. It is now read-only.

Commit

Permalink
Merge fa5a7ee into 3d7611c
Browse files Browse the repository at this point in the history
  • Loading branch information
sagikazarmark committed Mar 25, 2016
2 parents 3d7611c + fa5a7ee commit 0f5495d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ php:
env:
global:
- TEST_COMMAND="composer test"
- COVERAGE=false

branches:
except:
Expand All @@ -28,14 +29,16 @@ matrix:
env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest" COVERAGE=true TEST_COMMAND="composer test-ci"

before_install:
- if [[ $COVERAGE != true ]]; then phpenv config-rm xdebug.ini; fi
- travis_retry composer self-update

install:
- travis_retry composer global require hirak/prestissimo --prefer-dist --no-interaction
- travis_retry composer update ${COMPOSER_FLAGS} --prefer-dist --no-interaction

script:
- $TEST_COMMAND

after_success:
- if [[ "$COVERAGE" = true ]]; then wget https://scrutinizer-ci.com/ocular.phar; fi
- if [[ "$COVERAGE" = true ]]; then php ocular.phar code-coverage:upload --format=php-clover build/coverage.xml; fi
- if [[ $COVERAGE = true ]]; then wget https://scrutinizer-ci.com/ocular.phar; fi
- if [[ $COVERAGE = true ]]; then php ocular.phar code-coverage:upload --format=php-clover build/coverage.xml; fi

0 comments on commit 0f5495d

Please sign in to comment.