Skip to content

Commit 6e8058e

Browse files
committed
Moves setting memory limit before invoking composer.
1 parent fc2899f commit 6e8058e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ cache:
3030

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

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

0 commit comments

Comments
 (0)