File tree Expand file tree Collapse file tree 1 file changed +23
-7
lines changed Expand file tree Collapse file tree 1 file changed +23
-7
lines changed Original file line number Diff line number Diff line change 1+ dist : trusty
2+
13language : php
24
35php :
@@ -13,15 +15,29 @@ services:
1315 - mongodb
1416 - mysql
1517
16- # addons:
17- # apt:
18- # sources:
19- # - mongodb-3.0-precise
20- # packages:
21- # - mongodb-org-server
18+ matrix :
19+ fast_finish : true
20+ include :
21+ - php : 7.1
22+ addons :
23+ apt :
24+ sources :
25+ - sourceline : " deb [arch=amd64] https://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.4 multiverse"
26+ key_url : " https://www.mongodb.org/static/pgp/server-3.4.asc"
27+ - " mongodb-upstart"
28+ packages : ['mongodb-org-server']
29+ - php : 7.2
30+ addons :
31+ apt :
32+ sources :
33+ - sourceline : " deb [arch=amd64] https://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.4 multiverse"
34+ key_url : " https://www.mongodb.org/static/pgp/server-3.4.asc"
35+ - " mongodb-upstart"
36+ packages : ['mongodb-org-server']
2237
2338before_script :
24- # - pecl install mongodb
39+ - if [[ ${TRAVIS_PHP_VERSION:0:2} == "7." ]]; then pecl install -f mongodb-${DRIVER_VERSION}; fi
40+ - if [[ ${TRAVIS_PHP_VERSION:0:2} == "7." ]]; then composer config "platform.ext-mongo" "1.6.16" && composer require "alcaeus/mongo-php-adapter=${ADAPTER_VERSION}"; fi
2541 - mysql -e 'create database unittest;'
2642 - travis_retry composer self-update
2743 - travis_retry composer install --no-interaction
You can’t perform that action at this time.
0 commit comments