File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,20 +2,12 @@ language: php
22php :
33 - 7.0
44 - 5.6
5- env :
6- - EXT_VERSION=1.1 DB_PACKAGE=mongodb-10gen
7- - EXT_VERSION=1.1 DB_PACKAGE=mongodb-org
8- services :
5+ services :
96 - redis-server
10- before_install :
11- - " sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10"
12- - " echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' | sudo tee /etc/apt/sources.list.d/mongodb.list"
13- - " sudo apt-get update"
14- - " sudo apt-get install ${DB_PACKAGE}"
7+ - mongodb
158before_script :
169 - composer self-update || true
17- - yes '' | pecl install -f mongodb-${EXT_VERSION}
18- # wait for mongo, start is only needed for 2.4 package, see http://tldp.org/LDP/abs/html/devref1.html for description of this syntax.
19- - sudo service mongodb start; bash -c 'while ! exec 6<>/dev/tcp/localhost/27017; do echo "$(date) - still trying to connect to mongo"; sleep 1; done'
10+ - yes '' | pecl install -f mongodb-1.1
11+ - bash -c 'while ! exec 6<>/dev/tcp/localhost/27017; do echo "$(date) - still trying to connect to mongo"; sleep 1; done'
2012script : ./build.php
2113after_script : ./vendor/bin/coveralls -v
You can’t perform that action at this time.
0 commit comments