Skip to content

Commit 29af4c6

Browse files
author
Jeremiah VALERIE
committed
Increase travis memory limit
1 parent 4fc693a commit 29af4c6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,11 @@ before_install:
3535
- composer selfupdate
3636
- if [ $SYMFONY_VERSION ]; then composer require "symfony/symfony:${SYMFONY_VERSION}" "symfony/framework-bundle:${SYMFONY_VERSION}" --dev --no-update; fi;
3737
- if [ $GRAPHQLPHP_VERSION ]; then composer require "webonyx/graphql-php:${GRAPHQLPHP_VERSION}" --dev --no-update; fi;
38+
- echo "memory_limit=3072M" >> "$HOME/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini"
3839

39-
install: composer update --prefer-source --no-interaction --optimize-autoloader
40+
install:
41+
- composer update --prefer-source --no-interaction --optimize-autoloader
42+
- echo "memory_limit=256M" >> "$HOME/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini"
4043

4144
script:
4245
- bin/phpunit --debug $( if [ $TEST_COVERAGE = true ]; then echo "-d xdebug.max_nesting_level=1000 --coverage-clover=build/logs/clover.xml"; fi; )

0 commit comments

Comments
 (0)