Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ce7b019

Browse files
stloydfabpot
authored andcommitted
Add testing against HHVM at Travis-CI
1 parent 8dca5fc commit ce7b019

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.travis.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,17 @@ php:
55
- 5.3
66
- 5.4
77
- 5.5
8+
- hhvm
9+
10+
matrix:
11+
allow_failures:
12+
- php: hhvm
813

914
services: mongodb
1015

1116
before_script:
1217
- sudo apt-get install parallel
13-
- echo '' > ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini
18+
- sh -c 'if [ $(php -r "echo (int) defined("HHVM_VERSION");") -eq 0 ]; then echo "" >> "~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini"; fi;'
1419
- echo "extension = mongo.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
1520
- sh -c 'if [ $(php -r "echo PHP_MINOR_VERSION;") -le 4 ]; then echo "extension = apc.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi;'
1621
- echo "extension = memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini

0 commit comments

Comments
 (0)