Added installing mongo extension to travis config
This commit is contained in:
parent
f0c4cb23e3
commit
d7980bc419
1 changed files with 7 additions and 0 deletions
|
|
@ -4,7 +4,14 @@ php:
|
|||
- 5.3
|
||||
- 5.4
|
||||
|
||||
env:
|
||||
- MONGO_VERSION=1.2.12
|
||||
|
||||
before_script:
|
||||
- wget http://pecl.php.net/get/mongo-${MONGO_VERSION}.tgz
|
||||
- tar -xzf mongo-${MONGO_VERSION}.tgz
|
||||
- sh -c "cd mongo-${MONGO_VERSION} && phpize && ./configure && make && sudo make install"
|
||||
- echo "extension=mongo.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
|
||||
- wget -nc http://getcomposer.org/composer.phar
|
||||
- php composer.phar install --dev
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue