File tree Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Original file line number Diff line number Diff line change @@ -2,18 +2,10 @@ language: php
2
2
php :
3
3
- 7.0
4
4
- 5.6
5
- env :
6
- - DB_PACKAGE=mongodb-10gen
7
- - DB_PACKAGE=mongodb-org
8
- before_install :
9
- - " sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10"
10
- - " echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' | sudo tee /etc/apt/sources.list.d/mongodb.list"
11
- - " sudo apt-get update"
12
- - " sudo apt-get install ${DB_PACKAGE}"
5
+ services :
6
+ - mongodb
13
7
before_script :
14
8
- composer self-update
15
- - printf "\n" | pecl install --force mongodb
16
- # 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.
17
- - 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'
9
+ - yes '' | pecl install -f mongodb-1.1
18
10
script : ./build.php
19
11
after_script : ./vendor/bin/coveralls -v
You can’t perform that action at this time.
0 commit comments