Skip to content

Commit eae44c7

Browse files
committed
Enabled mongo extension and allow failures fo php7 and hhvm
1 parent 1ae3521 commit eae44c7

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.travis.yml

+9
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ php:
1919
env:
2020
- COMPOSER_OPTIONS="--prefer-source"
2121

22+
before_install:
23+
- if [[ "$TRAVIS_PHP_VERSION" != "hhvm" && "$TRAVIS_PHP_VERSION" != "7.0" ]]; then echo "extension = mongo.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi;
24+
2225
install:
2326
- composer update --no-interaction ${COMPOSER_OPTIONS}
2427

@@ -28,3 +31,9 @@ script:
2831
cache:
2932
directories:
3033
- $COMPOSER_CACHE_DIR
34+
35+
matrix:
36+
fast_finish: true
37+
allow_failures:
38+
- php: 7.0
39+
- php: hhvm

0 commit comments

Comments
 (0)