Skip to content

Commit bad6d4a

Browse files
committed
Update method for installing and running Coveralls
1 parent 7bb8342 commit bad6d4a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,16 @@ before_install:
3636
- travis_retry composer self-update
3737

3838
install:
39+
- travis_retry composer require --no-update satooshi/php-coveralls:^1.0
3940
- travis_retry composer install --no-interaction --prefer-source
4041

4142
before_script:
4243
- mkdir -p build/logs
4344

4445
script:
4546
- ./vendor/bin/parallel-lint src test
46-
- ./vendor/bin/phpunit --coverage-text
47+
- ./vendor/bin/phpunit --verbose --coverage-clover build/logs/clover.xml
4748
- ./vendor/bin/phpcs src --standard=psr2 -sp
4849

4950
after_success:
50-
- wget https://github.com/satooshi/php-coveralls/releases/download/v1.0.1/coveralls.phar
51-
- php coveralls.phar
51+
- travis_retry php vendor/bin/coveralls

0 commit comments

Comments
 (0)