Skip to content

Commit

Permalink
Configured Travis CI for MongoDB
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Wolf committed Jul 7, 2015
1 parent 59f4b4d commit 2ab4447
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,17 @@ php:
- 5.6
- hhvm

env:
- MONGO_VERSION=stable

matrix:
allow_failures:
- php: hhvm

before_script:
- yes '' | pecl -q install -f mongo-${MONGO_VERSION} && echo "extension=mongo.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
- composer self-update
- composer install --dev --prefer-source --no-interaction
- composer install --prefer-source --no-interaction

script:
- php vendor/bin/phpunit -c travis.phpunit.xml
Expand Down

0 comments on commit 2ab4447

Please sign in to comment.