Increase memory limit for code coverage runs

This commit is contained in:
Robbie Averill 2018-04-12 15:13:32 +12:00
parent 5b68e7bb58
commit 35733f46e3

View File

@ -19,7 +19,7 @@ before_script:
# Init PHP # Init PHP
- phpenv rehash - phpenv rehash
- phpenv config-rm xdebug.ini - phpenv config-rm xdebug.ini
- echo 'memory_limit = 2048M' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini - echo 'memory_limit=-1' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
# Install composer dependencies # Install composer dependencies
- composer validate - composer validate
@ -28,7 +28,7 @@ before_script:
script: script:
- if [[ $PHPUNIT_TEST ]]; then vendor/bin/phpunit; fi - if [[ $PHPUNIT_TEST ]]; then vendor/bin/phpunit; fi
- if [[ $PHPUNIT_COVERAGE_TEST ]]; then phpdbg -qrr vendor/bin/phpunit --coverage-clover=coverage.xml; fi - if [[ $PHPUNIT_COVERAGE_TEST ]]; then phpdbg -qrr vendor/bin/phpunit --coverage-clover=coverage.xml -vvv; fi
- if [[ $PHPCS_TEST ]]; then vendor/bin/phpcs code/ tests/; fi - if [[ $PHPCS_TEST ]]; then vendor/bin/phpcs code/ tests/; fi
after_success: after_success: