Skip to content

Commit 06f08af

Browse files
authored
added tests for php 7
1 parent e38fbba commit 06f08af

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@ language: php
33

44
php:
55
- 5.4
6+
- 5.5.9
67
- 5.5
78
- 5.6
9+
- 7.0
810
- hhvm
911

1012
before_script:
@@ -15,5 +17,5 @@ script:
1517
- phpunit --coverage-text --coverage-clover=coverage.clover
1618

1719
after_script:
18-
- sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then wget https://scrutinizer-ci.com/ocular.phar; fi;'
19-
- sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi;'
20+
- sh -c 'if [ "$TRAVIS_PHP_VERSION" != "7.0" ] && [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then wget https://scrutinizer-ci.com/ocular.phar; fi;'
21+
- 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 commit comments

Comments
 (0)