Commit 22a641f2 authored by Jeremy Mikola's avatar Jeremy Mikola

PHPLIB-412: Use distro-specific server binary

Additionally, force 14.04 when testing server 3.0.x since it is not available on 16.04
parent 9d50aa33
......@@ -15,6 +15,7 @@ cache:
env:
global:
- DRIVER_VERSION=1.6.0alpha1
- SERVER_DISTRO=ubuntu1604
- SERVER_VERSION=4.0.1
- DEPLOYMENT=STANDALONE
......@@ -23,12 +24,16 @@ matrix:
include:
- php: 5.5
dist: trusty
env:
- SERVER_DISTRO=ubuntu1404
- php: 5.6
- php: 7.0
- php: 7.1
- php: 7.2
- php: 7.0
dist: trusty
env:
- SERVER_DISTRO=ubuntu1404
- SERVER_VERSION=3.0.15
- DEPLOYMENT=STANDALONE_OLD
- php: 7.0
......@@ -57,9 +62,9 @@ matrix:
before_install:
- pip install "mongo-orchestration>=0.6.7,<1.0" --user `whoami`
- wget http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu1404-${SERVER_VERSION}.tgz
- tar zxf mongodb-linux-x86_64-ubuntu1404-${SERVER_VERSION}.tgz
- export PATH=${PWD}/mongodb-linux-x86_64-ubuntu1404-${SERVER_VERSION}/bin/:${PATH}
- export SERVER_FILENAME=mongodb-linux-x86_64-${SERVER_DISTRO}-${SERVER_VERSION}
- wget -qO- http://fastdl.mongodb.org/linux/${SERVER_FILENAME}.tgz | tar xz
- export PATH=${PWD}/${SERVER_FILENAME}/bin:${PATH}
- mongod --version
- mongo-orchestration --version
- export MO_PATH=`python -c 'import mongo_orchestration; from os import path; print(path.dirname(mongo_orchestration.__file__));'`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment