File tree 4 files changed +9
-3
lines changed
4 files changed +9
-3
lines changed Original file line number Diff line number Diff line change
1
+ /build
1
2
/vendor
2
3
.idea
3
4
composer.phar
Original file line number Diff line number Diff line change @@ -12,8 +12,9 @@ before_script:
12
12
- travis_retry composer install --prefer-source --no-interaction --dev
13
13
14
14
script :
15
- - phpunit --coverage-text --coverage-clover=coverage.clover
15
+ - phpunit --coverage-text
16
16
17
17
after_script :
18
18
- wget https://scrutinizer-ci.com/ocular.phar
19
- - php ocular.phar code-coverage:upload --format=php-clover coverage.clover
19
+ - php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml
20
+ - ./vendor/bin/test-reporter
Original file line number Diff line number Diff line change 21
21
"illuminate/support" : " ~4.1|~5.0"
22
22
},
23
23
"require-dev" : {
24
- "phpunit/phpunit" : " ~4.0"
24
+ "phpunit/phpunit" : " ~4.0" ,
25
+ "codeclimate/php-test-reporter" : " dev-master"
25
26
},
26
27
"autoload" : {
27
28
"psr-4" : {
Original file line number Diff line number Diff line change 15
15
<directory suffix =" .php" >./tests/</directory >
16
16
</testsuite >
17
17
</testsuites >
18
+ <logging >
19
+ <log type =" coverage-clover" target =" build/logs/clover.xml" />
20
+ </logging >
18
21
</phpunit >
You can’t perform that action at this time.
0 commit comments