Skip to content

Commit

Permalink
- increasing php memory limit for travis (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
viktym authored Oct 13, 2020
1 parent 013cafa commit f7e5947
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ before_install:
- if [ -n "${COMPOSER_VERSION}" ]; then travis_retry composer self-update ${COMPOSER_VERSION}; fi;

install:
- phpenv config-add travis.php.ini
- composer config http-basic.repo.magento.com ${REPO_USERNAME_CE} ${REPO_PASSWORD_CE}
- composer config github-oauth.github.com ${GITHUB_TOKEN}
- if [ -n "${MCD_VERSION}" ]; then composer config repositories.mcd git [email protected]:magento/magento-cloud-docker.git && composer require "magento/magento-cloud-docker:${MCD_VERSION}" --no-update; fi;
Expand All @@ -70,7 +71,7 @@ install:
- composer require "magento/framework:*" --no-update
- composer require "magento/module-store:*" --no-update
- composer require "magento/module-url-rewrite:*" --no-update
- COMPOSER_MEMORY_LIMIT=-1 composer update -n --no-suggest
- composer update -n --no-suggest

before_script:
- sudo sysctl -w vm.max_map_count=262144
Expand Down
1 change: 1 addition & 0 deletions travis.php.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
memory_limit = 4G

0 comments on commit f7e5947

Please sign in to comment.