Skip to content

Commit

Permalink
while running tests with PHP 8, run php-coveralls again
Browse files Browse the repository at this point in the history
(reverts 4bc53a4)
  • Loading branch information
craue committed Jan 4, 2021
1 parent 3eaad9b commit a42a997
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -47,7 +47,7 @@ script:
- phpdbg -qrr vendor/phpunit/phpunit/phpunit -v --coverage-clover build/logs/clover.xml
# upload code coverage data
- |
if [ "${TRAVIS_REPO_SLUG}" = "craue/CraueFormFlowDemoBundle" ] && [[ "${TRAVIS_PHP_VERSION}" == "7."* ]]; then
if [ "${TRAVIS_REPO_SLUG}" = "craue/CraueFormFlowDemoBundle" ]; then
PHP_COVERALLS_VERSION=`curl --retry 5 -Is https://github.com/php-coveralls/php-coveralls/releases/latest | grep -i 'Location:' | sed 's/.*\/tag\/\(.*\)$/\1/' | tr -d "[:cntrl:]"`
echo "using php-coveralls '${PHP_COVERALLS_VERSION}'"
travis_retry wget -q "https://github.com/php-coveralls/php-coveralls/releases/download/${PHP_COVERALLS_VERSION}/php-coveralls.phar" -O php-coveralls.phar
Expand Down

0 comments on commit a42a997

Please sign in to comment.