Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit b8f14c8

Browse files
committed
[travis-ci] Optimize composer install having all requirements set
Avoid to execute the requirements resolution algorithm twice
1 parent 4590e0b commit b8f14c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ notifications:
2828
before_install:
2929
- if [[ $EXECUTE_COVERAGE != 'true' ]]; then phpenv config-rm xdebug.ini || return 0 ; fi
3030
- composer self-update
31+
- if [[ $EXECUTE_COVERAGE == 'true' ]]; then composer require --no-update satooshi/php-coveralls:dev-master ; fi
3132

3233
install:
3334
- travis_retry composer install --no-interaction --ignore-platform-reqs
@@ -38,5 +39,4 @@ script:
3839
- if [[ $EXECUTE_CS_CHECK == 'true' ]]; then ./vendor/bin/phpcs --standard=PSR2 src test ; fi
3940

4041
after_script:
41-
- if [[ $EXECUTE_COVERAGE == 'true' ]]; then composer require satooshi/php-coveralls:dev-master ; fi
4242
- if [[ $EXECUTE_COVERAGE == 'true' ]]; then ./vendor/bin/coveralls ; fi

0 commit comments

Comments
 (0)