Skip to content

Commit dbe5b14

Browse files
minor symfony#26018 Update MongoDB extension on travis to make the builds green again (derrabus)
This PR was merged into the 2.7 branch. Discussion ---------- Update MongoDB extension on travis to make the builds green again | Q | A | ------------- | --- | Branch? | 2.7 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | N/A | License | MIT | Doc PR | N/A Currently, php 7.1 and 7.2 runs on travis are failing because we're testing against `mongodb/mongodb` 1.3-dev which requires a more recent version of `ext-mongodb` than Travis provides. This PR attempts to fix the issue by installing that version via PECL. Commits ------- e0132cc Update MongoDB extension on travis to make the builds green again.
2 parents b49a6b7 + e0132cc commit dbe5b14

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,6 @@ before_install:
100100
[[ $PHP = 5.* ]] && echo extension = memcache.so >> $INI
101101
if [[ $PHP = 5.* ]]; then
102102
echo extension = mongo.so >> $INI
103-
elif [[ $PHP = 7.* ]]; then
104-
echo extension = mongodb.so >> $INI
105103
fi
106104
107105
# Matrix lines for intermediate PHP versions are skipped for pull requests
@@ -127,6 +125,7 @@ before_install:
127125
tfold ext.apcu4 'echo yes | pecl install -f apcu-4.0.11'
128126
elif [[ ! $skip && $PHP = 7.* ]]; then
129127
tfold ext.apcu5 'echo yes | pecl install -f apcu-5.1.6'
128+
tfold ext.mongodb pecl install -f mongodb-1.4.0RC1
130129
fi
131130
132131
install:

0 commit comments

Comments
 (0)