Skip to content

Commit 1f24fb5

Browse files
VasekPurchartkukulich
authored andcommitted
Fix coveralls not working reliably in builds
1 parent 312cfba commit 1f24fb5

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ before_script:
1919
script:
2020
- bin/phing
2121
after_script:
22-
- php bin/coveralls -v --config build/coveralls.yml
22+
- if [ "${TRAVIS_ALLOW_FAILURE}" = false ]; then
23+
wget https://github.com/satooshi/php-coveralls/releases/download/v1.0.0/coveralls.phar
24+
&& php coveralls.phar --verbose --config build/coveralls.yml;
25+
fi
2326
notifications:
2427
email: false

composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616
"jakub-onderka/php-parallel-lint": "^0.9.2",
1717
"phing/phing": "^2.16",
1818
"phpstan/phpstan": "^0.6.3",
19-
"phpunit/phpunit": "^6.0.1",
20-
"satooshi/php-coveralls": "^1.0"
19+
"phpunit/phpunit": "^6.0.1"
2120
},
2221
"autoload": {
2322
"psr-4": {

0 commit comments

Comments
 (0)