Skip to content

Commit

Permalink
📚 update coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
ferdhika31 committed Nov 27, 2020
1 parent dff9e75 commit 346ca7a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .coveralls.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
service_name: travis-pro
repo_token: T5vwGZJCyGnvlQEQnDK3TuZG0XEd2QC6h
coverage_clover: tests/logs/clover.xml
json_path: tests/logs/coveralls-upload.json
service_name: travis-ci
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ php:
before_script:
- travis_retry composer self-update
- travis_retry composer install --prefer-source --no-interaction
- travis_retry composer require "php-coveralls/php-coveralls=^2.1" --prefer-dist --no-interaction --no-suggest --dev

script:
- vendor/bin/phpunit
- vendor/bin/phpunit --coverage-clover ./tests/logs/clover.xml

after_script:
- php vendor/bin/coveralls -v

0 comments on commit 346ca7a

Please sign in to comment.