Skip to content

Commit

Permalink
fix: argument order for coverage in CI file
Browse files Browse the repository at this point in the history
Signed-off-by: Henric Nylund <[email protected]>
  • Loading branch information
nynka committed Dec 14, 2020
1 parent e418860 commit 0322ee9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ cache:

env:
global:
- COMPOSER_ARGS="--no-interaction --ignore-platform-reqs"
- COMPOSER_ARGS="--no-interaction"
- COVERAGE_DEPS="php-coveralls/php-coveralls"

matrix:
Expand All @@ -29,9 +29,11 @@ matrix:
- php: 8.0
env:
- DEPS=lowest
- COMPOSER_ARGS="--no-interaction --ignore-platform-reqs"
- php: 8.0
env:
- DEPS=latest
- COMPOSER_ARGS="--no-interaction --ignore-platform-reqs"

before_install:
- if [[ $TEST_COVERAGE != 'true' ]]; then phpenv config-rm xdebug.ini || return 0 ; fi
Expand All @@ -44,7 +46,7 @@ install:
- stty cols 120 && composer show

script:
- if [[ $TEST_COVERAGE == 'true' ]]; then composer XDEBUG_MODE=coverage test-coverage ; else composer test ; fi
- if [[ $TEST_COVERAGE == 'true' ]]; then XDEBUG_MODE=coverage composer test-coverage ; else composer test ; fi
- if [[ $CS_CHECK == 'true' ]]; then composer cs-check ; fi

after_script:
Expand Down

0 comments on commit 0322ee9

Please sign in to comment.