Skip to content

Commit

Permalink
update .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
koriym committed Apr 29, 2015
1 parent 20730e2 commit 14d0da5
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .travis.yml
Expand Up @@ -4,13 +4,14 @@ php:
- 5.5
- 5.6
- hhvm
- 7.0
- 7

install: travis_retry composer install --no-interaction --prefer-source

script:
- composer self-update
- composer install --prefer-source
- phpunit --coverage-text --coverage-clover=coverage.clover
- if [ "$TRAVIS_PHP_VERSION" == "hhvm" ]; then phpunit; fi
- if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then phpunit --coverage-text --coverage-clover=coverage.clover; fi

after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
- if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi

0 comments on commit 14d0da5

Please sign in to comment.