Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 33 lines (24 sloc) 0.652 kb
35b2753 @jmikola Enable Travis CI and refactor test bootstrap
jmikola authored
1 language: php
2
3 php:
4 - 5.3
5 - 5.4
b35a47e @stof Improve the Travis configuration
stof authored
6 - 5.5
7 - 5.6
35b2753 @jmikola Enable Travis CI and refactor test bootstrap
jmikola authored
8
b35a47e @stof Improve the Travis configuration
stof authored
9 matrix:
10 include:
11 - php: 5.3
12 env: COMPOSER_FLAGS='--prefer-lowest --prefer-stable'
13 - php: 5.6
14 env: MONGO_VERSION=1.2.12
15 - php: 5.6
16 env: MONGO_VERSION=1.3.3
17
18 sudo: false
19
20 cache:
21 directories:
22 - $HOME/.composer/cache
c365ab3 @jmikola Test both master/2.0 branches in Travis CI and allow for multiple dri…
jmikola authored
23
ca0b74b @jmikola Require mongodb service in Travis CI
jmikola authored
24 services: mongodb
25
b35a47e @stof Improve the Travis configuration
stof authored
26 before_install:
27 - if [ "$MONGO_VERSION" != "" ]; then pecl -q install -f mongo-${MONGO_VERSION}; fi # Use a specific driver version when needed rather than the one shipped by Travis
28 - echo "extension=mongo.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
29
30 install:
31 - composer update $COMPOSER_FLAGS
cd3d638 @adrienbrault Simplify Travis CI file
adrienbrault authored
32
Something went wrong with that request. Please try again.