Skip to content

Commit

Permalink
Moves setting memory limit before invoking composer.
Browse files Browse the repository at this point in the history
  • Loading branch information
phpeek committed Aug 6, 2018
1 parent fc2899f commit 6e8058e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ cache:

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

install: composer update --prefer-dist --no-interaction $COMPOSER_FLAGS

Expand Down

0 comments on commit 6e8058e

Please sign in to comment.