Skip to content

Commit

Permalink
Simplify Travis CI file
Browse files Browse the repository at this point in the history
  • Loading branch information
adrienbrault committed Sep 22, 2012
1 parent 5515d53 commit cd3d638
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ env:
services: mongodb

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
- pecl -q install mongo-${MONGO_VERSION} && echo "extension=mongo.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
- composer install --dev

0 comments on commit cd3d638

Please sign in to comment.