Skip to content

Commit

Permalink
added tests for php 7
Browse files Browse the repository at this point in the history
  • Loading branch information
pulkitjalan authored Jan 29, 2017
1 parent e38fbba commit 06f08af
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ language: php

php:
- 5.4
- 5.5.9
- 5.5
- 5.6
- 7.0
- hhvm

before_script:
Expand All @@ -15,5 +17,5 @@ script:
- phpunit --coverage-text --coverage-clover=coverage.clover

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

0 comments on commit 06f08af

Please sign in to comment.