Skip to content

Commit

Permalink
Merge pull request Sylius#827 from stloyd/bugfix/travis
Browse files Browse the repository at this point in the history
Adjust .travis.yml files across the bundles
  • Loading branch information
stloyd committed Jan 14, 2014
2 parents d340c7b + 238f83b commit 4e602b3
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,15 @@ php:
- 5.4
- 5.5

env: MONGO_VERSION=1.3.4

services: mongodb

before_script:
- wget http://pecl.php.net/get/mongo-1.4.3.tgz
- tar -xzf mongo-1.4.3.tgz
- sh -c "cd mongo-1.4.3 && phpize && ./configure && sudo make install"
- echo "extension=mongo.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`

- echo '' > ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini
- echo "extension = mongo.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini

- composer install --prefer-source
- composer require doctrine/mongodb-odm="1.0.*@dev" --no-update
- composer require jmikola/geojson="~1.0" --no-update
- composer install --prefer-source --no-interaction

script: php bin/phpspec run -f pretty

Expand Down

0 comments on commit 4e602b3

Please sign in to comment.