Skip to content

Commit

Permalink
setup mongodb on travis
Browse files Browse the repository at this point in the history
  • Loading branch information
juliangut committed Jun 5, 2018
1 parent 73f0f5a commit 3eb661f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .travis.yml
Expand Up @@ -12,6 +12,9 @@ cache:
env:
- COMPOSER_FLAGS="--prefer-stable --prefer-dist"

services:
- mongodb

php:
- 7.1
- 7.2
Expand All @@ -37,7 +40,7 @@ before_install:
- composer self-update --stable --no-progress

install:
- travis_retry composer require alcaeus/mongo-php-adapter $COMPOSER_GLOBAL_FLAGS $COMPOSER_FLAGS --ignore-platform-reqs
- travis_retry composer require alcaeus/mongo-php-adapter $COMPOSER_GLOBAL_FLAGS $COMPOSER_FLAGS
- travis_retry composer update $COMPOSER_FLAGS --no-interaction --no-scripts --no-progress
- if [[ $TEST_VERSION ]]; then travis_retry composer require php-coveralls/php-coveralls $COMPOSER_FLAGS --no-interaction --no-scripts --no-progress ; fi

Expand Down

0 comments on commit 3eb661f

Please sign in to comment.