Skip to content

Commit 4ad0b0e

Browse files
committed
Set global env for Travis
1 parent 003a8c1 commit 4ad0b0e

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.travis.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,18 @@ php:
55
- 7.4
66
- 8.0
77

8+
env:
9+
global:
10+
- COMPOSER_MEMORY_LIMIT=-1
11+
- XDEBUG_MODE=coverage
12+
813
cache:
914
directories:
1015
- $HOME/.composer/cache
1116

1217
install:
13-
- COMPOSER_MEMORY_LIMIT=-1 travis_retry composer install --no-interaction --prefer-dist
14-
- COMPOSER_MEMORY_LIMIT=-1 travis_retry composer require --no-interaction --prefer-dist --dev php-coveralls/php-coveralls
18+
- travis_retry composer install --no-interaction --prefer-dist
19+
- travis_retry composer require --no-interaction --prefer-dist --dev php-coveralls/php-coveralls
1520

1621
script: vendor/bin/phpunit --verbose --coverage-clover build/logs/clover.xml
1722

0 commit comments

Comments
 (0)