Skip to content

travis: test against hhvm #221

Closed
wants to merge 1 commit into from

2 participants

@arnaud-lb
FriendsOfSymfony member

Tests pass against HHVM.

This PR enables testing against HHVM in Travis.

@stof stof commented on the diff Mar 8, 2014
.travis.yml
env:
- MONGO_VERSION=1.3.7
before_script:
- - pecl -q install -f mongo-${MONGO_VERSION} && echo "extension=mongo.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
+ - pecl -q install -f mongo-${MONGO_VERSION} && echo "extension=mongo.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"` || true
@stof
FriendsOfSymfony member
stof added a note Mar 8, 2014

This should rather be wrapped in a check on $TRAVIS_PHP_VERSION to do the command only when it is not hhvm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
@stof
FriendsOfSymfony member
stof commented Mar 8, 2014

I suggest closing it as it cannot work currently: the testsuite requires the mongo extension, which is not yet available on HHVM

@arnaud-lb
FriendsOfSymfony member

Closing for now.

Tests pass in HHVM after running composer install with PHP. However, running composer install with HHVM fails because of mongo extension dependency.

@arnaud-lb arnaud-lb closed this Mar 8, 2014
@arnaud-lb arnaud-lb deleted the pr/travis-hhvm branch Mar 8, 2014
@alanbem alanbem referenced this pull request Jul 10, 2014
Closed

Added HHVM to travis.yml #258

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.