Skip to content
This repository has been archived by the owner on Aug 5, 2020. It is now read-only.

Commit

Permalink
fixed coveralls integration in all major components
Browse files Browse the repository at this point in the history
  • Loading branch information
k00ni committed Mar 21, 2018
1 parent ecc4fa5 commit 861ea4a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,14 @@ sudo: true

before_install:
- mysql -e 'CREATE DATABASE IF NOT EXISTS saft;'
- composer require satooshi/php-coveralls:* --ignore-platform-reqs
- travis_retry composer install --dev --no-interaction --ignore-platform-reqs
# Install coveralls.phar
- wget -c -nc --retry-connrefused --tries=0 https://github.com/satooshi/php-coveralls/releases/download/v1.0.1/coveralls.phar
- chmod +x coveralls.phar
- php coveralls.phar --version

script: vendor/bin/phpunit --bootstrap Test/bootstrap-travis.php --coverage-clover gen/coverage/clover.xml

after_script: php vendor/bin/coveralls -v
after_success:
# Submit coverage report to Coveralls servers, see .coveralls.yml
- travis_retry php coveralls.phar -v

0 comments on commit 861ea4a

Please sign in to comment.