Restoring code coverage

This commit is contained in:
James Cole 2015-02-27 20:52:49 +01:00
parent b5fc36a8e1
commit 4237850299
3 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,2 @@
src_dir: .
coverage_clover: tests/_output/coverage.xml
json_path: tests/_output/coveralls-upload.json
coverage_clover: storage/coverage/clover.xml

View File

@ -18,3 +18,6 @@ script:
- phpunit
after_script:
- php vendor/bin/coveralls
- vendor/bin/test-reporter --stdout > codeclimate.json
- "curl -X POST -d @codeclimate.json -H 'Content-Type: application/json' -H 'User-Agent: Code Climate (PHP Test Reporter v0.1.1)' https://codeclimate.com/test_reports"

View File

@ -14,6 +14,11 @@
<directory>./tests/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory suffix=".php">./app</directory>
</whitelist>
</filter>
<php>
<env name="APP_ENV" value="testing"/>
<env name="CACHE_DRIVER" value="array"/>