Skip to content

Commit

Permalink
Add code coverage for scrutinizer
Browse files Browse the repository at this point in the history
  • Loading branch information
Sephster committed Feb 18, 2018
1 parent 9287f58 commit 028d91f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,13 @@ install:
- composer update --no-interaction --prefer-dist $DEPENDENCIES

script:
- vendor/bin/phpunit
- vendor/bin/phpunit --coverage-clover=coverage.clover
- vendor/bin/phpstan analyse -l 6 -c phpstan.neon src tests

after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover

branches:
only:
- master

0 comments on commit 028d91f

Please sign in to comment.