Skip to content

Commit

Permalink
Merge pull request #588 from xabbuh/patch-1
Browse files Browse the repository at this point in the history
install stable dependencies when possible
  • Loading branch information
goetas authored Jun 26, 2017
2 parents f796508 + 785b5e1 commit d81b06c
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 @@ -24,12 +24,12 @@ matrix:
- php: 7.1
env: SYMFONY_VERSION='~4.0@dev'
- php: 5.5
env: 'COMPOSER_FLAGS="--prefer-stable --prefer-lowest"'
env: 'COMPOSER_FLAGS="--prefer-lowest"'

before_script:
- if [[ "$TRAVIS_PHP_VERSION" != "hhvm" ]]; then echo "memory_limit = -1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini; fi
- if [ "$SYMFONY_VERSION" != "" ]; then composer require --dev --no-update symfony/symfony=$SYMFONY_VERSION; fi
- composer update ${COMPOSER_FLAGS} --no-interaction
- composer update ${COMPOSER_FLAGS} --prefer-stable --no-interaction

script:
- vendor/bin/phpunit --coverage-clover clover
Expand Down

0 comments on commit d81b06c

Please sign in to comment.