File tree 4 files changed +12
-4
lines changed
4 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 1
1
.idea /
2
2
vendor /
3
3
composer.lock
4
- _db /
4
+ _db /
5
+ build /
Original file line number Diff line number Diff line change @@ -25,9 +25,13 @@ install: composer install
25
25
26
26
before_script :
27
27
- mkdir -p build/logs
28
+ - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
29
+ - chmod +x ./cc-test-reporter
30
+ - ./cc-test-reporter before-build
28
31
29
32
script : vendor/bin/phpunit --coverage-clover build/logs/clover.xml
30
33
31
34
after_script :
32
35
- php vendor/bin/coveralls -v
33
- - vendor/bin/test-reporter
36
+ - ./cc-test-reporter after-build --coverage-input-type clover --exit-code $TRAVIS_TEST_RESULT
37
+
Original file line number Diff line number Diff line change 19
19
"phpunit/phpunit" : " ~4.8||~5.7" ,
20
20
"mockery/mockery" : " ^0.9.9" ,
21
21
"laravel/laravel" : " ^5.2" ,
22
- "codeclimate/php-test-reporter" : " dev-master" ,
23
22
"doctrine/dbal" : " ^2.5" ,
24
- "laravel/browser-kit-testing" : " ^2.0"
23
+ "laravel/browser-kit-testing" : " ^2.0" ,
24
+ "php-coveralls/php-coveralls" : " ^2.0"
25
25
},
26
26
"autoload" : {
27
27
"psr-4" : {
Original file line number Diff line number Diff line change 26
26
<directory suffix =" .php" >./src</directory >
27
27
</whitelist >
28
28
</filter >
29
+ <logging >
30
+ <log type =" coverage-clover" target =" build/logs/clover.xml" />
31
+ </logging >
29
32
<php >
30
33
<env name =" APP_ENV" value =" testing" />
31
34
<env name =" APP_DEBUG" value =" true" />
You can’t perform that action at this time.
0 commit comments