Skip to content

Commit

Permalink
Merge pull request pdepend#336 from emirb/scrutinizer-test
Browse files Browse the repository at this point in the history
Fix Scrutinizer config
  • Loading branch information
Emir Beganović authored Nov 20, 2017
2 parents e873e38 + 428d8eb commit 3796176
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
18 changes: 6 additions & 12 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,13 @@
build:
environment:
php:
version: 7.1.0
tests:
override:
-
command: 'phpunit --coverage-clover=some-file'
coverage:
file: 'some-file'
format: 'clover'

checks:
php:
code_rating: true
duplication: true

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 3796176

Please sign in to comment.