Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 19 lines (14 sloc) 0.477 kb
35b2753 Jeremy Mikola Enable Travis CI and refactor test bootstrap
jmikola authored
1 language: php
2
3 php:
4 - 5.3
5 - 5.4
6
c365ab3 Jeremy Mikola Test both master/2.0 branches in Travis CI and allow for multiple driver...
jmikola authored
7 env:
b5b94b8 Jeremy Mikola Update test suite driver to 1.2.12
jmikola authored
8 - MONGO_VERSION=1.2.12
c365ab3 Jeremy Mikola Test both master/2.0 branches in Travis CI and allow for multiple driver...
jmikola authored
9
ca0b74b Jeremy Mikola Require mongodb service in Travis CI
jmikola authored
10 services: mongodb
11
35b2753 Jeremy Mikola Enable Travis CI and refactor test bootstrap
jmikola authored
12 before_script:
c365ab3 Jeremy Mikola Test both master/2.0 branches in Travis CI and allow for multiple driver...
jmikola authored
13 - wget http://pecl.php.net/get/mongo-${MONGO_VERSION}.tgz
14 - tar -xzf mongo-${MONGO_VERSION}.tgz
15 - sh -c "cd mongo-${MONGO_VERSION} && phpize && ./configure && make && sudo make install"
35b2753 Jeremy Mikola Enable Travis CI and refactor test bootstrap
jmikola authored
16 - echo "extension=mongo.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
17 - wget -nc http://getcomposer.org/composer.phar
627b17b Jeremy Mikola Install dev dependencies for Travis CI
jmikola authored
18 - php composer.phar install --dev
Something went wrong with that request. Please try again.