Skip to content

Commit 8bc2fb6

Browse files
committed
Merge pull request #26 from raulfraile/feature/php7
Feature/php7
2 parents a26651b + 7e74b3e commit 8bc2fb6

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

.travis.yml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,8 @@ php:
44
- 5.4
55
- 5.5
66
- 5.6
7-
- hhvm-nightly
8-
9-
matrix:
10-
allow_failures:
11-
- php: hhvm-nightly
7+
- hhvm
8+
- 7.0
129

1310
before_script:
1411
- sudo apt-get update -qq
@@ -17,11 +14,12 @@ before_script:
1714
- sudo apt-get install -y p7zip-full
1815
- sudo apt-get install -y p7zip-rar
1916
- sudo apt-get install -y cabextract
20-
- sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm-nightly" ]; then pecl install zip; fi;'
21-
- sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm-nightly" ]; then pecl install rar; fi;'
22-
- sh -c 'if [ "$TRAVIS_PHP_VERSION" = "hhvm-nightly" ]; then echo "phar.readonly = 0" > travis.hhvm.ini; fi;'
17+
- sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then pecl install zip; fi;'
18+
- sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then pecl install rar; fi;'
19+
- sh -c 'if [ "$TRAVIS_PHP_VERSION" = "hhvm" ]; then echo "phar.readonly = 0" > travis.hhvm.ini; fi;'
20+
- /home/travis/.phpenv/versions/$(phpenv version-name)/bin/composer self-update
2321
- composer install --prefer-source
2422

2523
script:
26-
- sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm-nightly" ]; then phpunit --verbose; fi;'
27-
- sh -c 'if [ "$TRAVIS_PHP_VERSION" = "hhvm-nightly" ]; then hhvm -c travis.hhvm.ini ~/.phpenv/versions/$(phpenv version-name)/bin/phpunit; fi;'
24+
- sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then phpunit --verbose; fi;'
25+
- sh -c 'if [ "$TRAVIS_PHP_VERSION" = "hhvm" ]; then hhvm -c travis.hhvm.ini ~/.phpenv/versions/$(phpenv version-name)/bin/phpunit; fi;'

0 commit comments

Comments
 (0)