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

Commit 99ef1d4

Browse files
committed
Install coveralls only when we are about to use it
coveralls installs guzzlehttp/guzzle, which is a version 6 guzzle client, and incompatible with v4/v5... causing tests to error!
1 parent 47381d7 commit 99ef1d4

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
@@ -66,14 +66,14 @@ install:
6666
- if [[ $LEGACY_DEPS != '' ]]; then travis_retry composer update $COMPOSER_ARGS --with-dependencies $LEGACY_DEPS ; fi
6767
- if [[ $DEPS == 'latest' ]]; then travis_retry composer update $COMPOSER_ARGS ; fi
6868
- if [[ $DEPS == 'lowest' ]]; then travis_retry composer update --prefer-lowest --prefer-stable $COMPOSER_ARGS ; fi
69-
- if [[ $TEST_COVERAGE == 'true' ]]; then travis_retry composer require --dev $COMPOSER_ARGS $COVERAGE_DEPS ; fi
7069
- stty cols 120 && composer show
7170

7271
script:
7372
- if [[ $TEST_COVERAGE == 'true' ]]; then composer run-script test-coverage -- --verbose ; else composer run-script test -- --verbose ; fi
7473
- if [[ $CS_CHECK == 'true' ]]; then composer cs-check ; fi
7574

7675
after_script:
76+
- if [[ $TEST_COVERAGE == 'true' ]]; then travis_retry composer require --dev $COMPOSER_ARGS $COVERAGE_DEPS ; fi
7777
- if [[ $TEST_COVERAGE == 'true' ]]; then travis_retry vendor/bin/php-coveralls -v ; fi
7878

7979
notifications:

0 commit comments

Comments
 (0)