3131 php : " 7.1"
3232 before_install : []
3333 before_script :
34- - pecl install -f mongodb-${DRIVER_VERSION}
34+ - .travis/ install-extension.sh
3535 - composer require --no-update doctrine/coding-standard=^6.0
3636 - composer install --no-interaction --no-progress --no-suggest ${COMPOSER_OPTIONS}
3737 script : vendor/bin/phpcs
@@ -112,6 +112,18 @@ jobs:
112112 env :
113113 - DEPLOYMENT=SHARDED_CLUSTER_RS
114114
115+ # Test next patch release for driver
116+ - stage : Test
117+ php : " 7.3"
118+ env :
119+ - DRIVER_BRANCH="v1.6"
120+
121+ # Test next minor release for driver
122+ - stage : Test
123+ php : " 7.3"
124+ env :
125+ - DRIVER_BRANCH="master"
126+
115127before_install :
116128 - pip install "mongo-orchestration>=0.6.7,<1.0" --user `whoami`
117129 - export SERVER_FILENAME=mongodb-linux-x86_64-${SERVER_DISTRO}-${SERVER_VERSION}
@@ -120,28 +132,11 @@ before_install:
120132 - mongod --version
121133 - mongo-orchestration --version
122134 - export MO_PATH=`python -c 'import mongo_orchestration; from os import path; print(path.dirname(mongo_orchestration.__file__));'`
123- - |
124- INI=~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
125- # tpecl is a helper to compile and cache php extensions
126- tpecl () {
127- local ext_name=$1
128- local ext_so=$2
129- local ext_dir=$(php -r "echo ini_get('extension_dir');")
130- local ext_cache=~/php-ext/$(basename $ext_dir)/$ext_name
131- if [[ -e $ext_cache/$ext_so ]]; then
132- echo extension = $ext_cache/$ext_so >> $INI
133- else
134- mkdir -p $ext_cache
135- echo yes | pecl install -f $ext_name &&
136- cp $ext_dir/$ext_so $ext_cache
137- fi
138- }
139- export -f tpecl
140135
141136before_script :
142137 - mongo-orchestration start
143138 - .travis/setup_mo.sh
144- - pecl install -f mongodb-${DRIVER_VERSION}
139+ - .travis/ install-extension.sh
145140 - php --ri mongodb
146141 - composer update --no-interaction --no-progress --no-suggest --prefer-dist --prefer-stable ${COMPOSER_OPTIONS}
147142 - ulimit -c
0 commit comments