Skip to content

Commit

Permalink
Add testing against HHVM at Travis-CI
Browse files Browse the repository at this point in the history
  • Loading branch information
stloyd authored and fabpot committed Dec 28, 2013
1 parent 8dca5fc commit ce7b019
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,17 @@ php:
- 5.3
- 5.4
- 5.5
- hhvm

matrix:
allow_failures:
- php: hhvm

services: mongodb

before_script:
- sudo apt-get install parallel
- echo '' > ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini
- 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;'
- echo "extension = mongo.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
- 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;'
- echo "extension = memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
Expand Down

0 comments on commit ce7b019

Please sign in to comment.