Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

Commit

Permalink
[travis] Add Code Climate integration
Browse files Browse the repository at this point in the history
  • Loading branch information
gunnarlium committed Aug 5, 2014
1 parent 6b04f02 commit 79ace3f
Show file tree
Hide file tree
Showing 3 changed files with 69 additions and 4 deletions.
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ php:
- 5.3
- 5.4

env:
global:
# travis encrypt CODECLIMATE_REPO_TOKEN=<https://codeclimate.com/repos/5375ae13e30ba0535b00a710/coverage_setup>
- secure: "edf80QwiEfarXXZHsvupedtjgUYYSwB56su8P4AGAFk060tcPdjlu29rPUAux09UCO6/D7FynBjuaWZj1TYvIuYJm3ih5GUmDvG5iViXvq8VUcI0LbNeth0Jg49xRH+Db21Sx1M+nvWIkQHVOqzDFuFRmVR97mzWLFLF8+BIZU4="

cache:
directories:
- vendor
Expand All @@ -36,3 +41,5 @@ script:

after_script:
- php vendor/bin/coveralls -v
- ./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 v1.0.1-dev)' https://codeclimate.com/test_reports"
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"pdepend/pdepend": "~1.1",
"phpmd/phpmd": "~1.4",
"squizlabs/php_codesniffer": "~1.4, <1.5",
"codeclimate/php-test-reporter": "dev-master",
"satooshi/php-coveralls": "~0.6"
},
"minimum-stability": "stable"
Expand Down
65 changes: 61 additions & 4 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 79ace3f

Please sign in to comment.