Skip to content
This repository has been archived by the owner on May 11, 2021. It is now read-only.

Commit

Permalink
Added code climate coverage reporting to travis.
Browse files Browse the repository at this point in the history
  • Loading branch information
andywaite committed Sep 10, 2015
1 parent 2022211 commit 1d9138e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ php:
install: composer install
script: phpunit --coverage-clover build/logs/clover.xml
after_script:
- CODECLIMATE_REPO_TOKEN="aca2b01aaa74cb142d590b26c267141eb31c477cad2b6f907e312bf3fc82ce96" vendor/bin/test-reporter --stdout > codeclimate.json
- CODECLIMATE_REPO_TOKEN="aca2b01aaa74cb142d590b26c267141eb31c477cad2b6f907e312bf3fc82ce96" 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"

0 comments on commit 1d9138e

Please sign in to comment.