Skip to content

Commit 2b5ef16

Browse files
committed
Fix the prefer-lowest job on Travis
1 parent bf92d79 commit 2b5ef16

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.travis.yml

+2
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ cache:
2929
- $HOME/.composer/cache
3030

3131
before_install:
32+
# To be removed when this issue will be resolved: https://github.com/composer/composer/issues/5355
33+
- if [[ "$COMPOSER_FLAGS" == *"--prefer-lowest"* ]]; then composer update --prefer-dist --no-interaction --prefer-stable --quiet; fi
3234
- if [ "$DEPENDENCIES" != "" ]; then composer require --no-update $DEPENDENCIES; fi;
3335
- echo "memory_limit=2G" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
3436

0 commit comments

Comments
 (0)