Skip to content

Commit

Permalink
Update Travis config
Browse files Browse the repository at this point in the history
  • Loading branch information
emirb committed Nov 20, 2017
1 parent 41de330 commit f5345c9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .scrutinizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build:
tests:
override:
-
command: 'vendor/bin/phpunit --configuration phpunit.xml.dist'
command: 'vendor/bin/phpunit --configuration phpunit.xml.dist --coverage-clover=clover.xml'
coverage:
file: 'coverage.xml'
format: 'clover'
Expand All @@ -17,3 +17,8 @@ checks:
filter:
excluded_paths:
- src/test/resources/files/

tools:
external_code_coverage:
timeout: 600
runs: 2
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,9 @@ script:
- vendor/bin/phpunit --configuration $TEST_CONFIG --colors --coverage-clover=coverage.xml
- bash <(curl -s https://codecov.io/bash)

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

notifications:
irc: "irc.freenode.org#pdepend"

0 comments on commit f5345c9

Please sign in to comment.