File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -49,8 +49,8 @@ before_install:
49
49
- |
50
50
# tpecl is a helper to compile and cache php extensions
51
51
tpecl () {
52
- local ext_name=ext-mongodb
53
- local ext_so=mongodb.so
52
+ local ext_name=$1
53
+ local ext_so=$2
54
54
local ext_dir=$(php -r "echo ini_get('extension_dir');")
55
55
local ext_cache=~/php-ext/$(basename $ext_dir)/$ext_name
56
56
if [[ -e $ext_cache/$ext_so ]]; then
@@ -66,7 +66,7 @@ before_install:
66
66
before_script :
67
67
- mongo-orchestration start
68
68
- pushd ${MO_PATH} && ${TRAVIS_BUILD_DIR}/.travis/mo.sh configurations/servers/clean.json start && popd
69
- - pecl install -f mongodb-${DRIVER_VERSION}
69
+ - tpecl mongodb-${DRIVER_VERSION} mongodb.so
70
70
- php --ri mongodb
71
71
- composer install --no-interaction --no-progress --no-suggest
72
72
- ulimit -c
You can’t perform that action at this time.
0 commit comments