Skip to content

Commit

Permalink
Use new way of adding Mongo to travis.
Browse files Browse the repository at this point in the history
  • Loading branch information
frankdejonge committed Mar 14, 2013
1 parent b80a47c commit b7b2896
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ services:
php:
- 5.3
- 5.4
- 5.5

before_script:
- pecl install mongo
- echo "extension=mongo.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
- echo "extension = <extension>.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
- mongo admin --eval 'db.addUser("travis", "test");'
- curl -s http://getcomposer.org/installer | php
- php composer.phar install --dev
Expand Down

0 comments on commit b7b2896

Please sign in to comment.