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

Commit af7da80

Browse files
committed
Merge pull request #371 from webimpress/hotfix/upload-coverage
Hotfix: Travis CI configuration - upload coverage report to coveralls
2 parents 6113802 + 9070462 commit af7da80

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ cache:
77
env:
88
global:
99
- COMPOSER_ARGS="--no-interaction"
10+
- COVERAGE_DEPS="php-coveralls/php-coveralls"
1011

1112
matrix:
1213
include:
@@ -47,6 +48,7 @@ install:
4748
- travis_retry composer install $COMPOSER_ARGS
4849
- if [[ $DEPS == 'latest' ]]; then travis_retry composer update $COMPOSER_ARGS ; fi
4950
- if [[ $DEPS == 'lowest' ]]; then travis_retry composer update --prefer-lowest --prefer-stable $COMPOSER_ARGS ; fi
51+
- if [[ $TEST_COVERAGE == 'true' ]]; then travis_retry composer require --dev $COMPOSER_ARGS $COVERAGE_DEPS ; fi
5052
- stty cols 120 && composer show
5153

5254
script:

0 commit comments

Comments
 (0)