Skip to content

Commit

Permalink
Publish stats to code climate via Travis lifecycle hook
Browse files Browse the repository at this point in the history
  • Loading branch information
ameyms committed Aug 11, 2015
1 parent aef1638 commit 18e763a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@ language: node_js
node_js:
- '0.10'
before_script:
- npm install --quiet -g grunt-cli karma
- npm install --quiet -g grunt-cli karma codeclimate-test-reporter
- npm install
script: grunt build
after_success: ./publish.sh
after_success:
- codeclimate-test-reporter < ./gen/coverage/report/lcov.info
- ./publish.sh
env:
global:
- GH_REF: github.com/zeusjs/utils.git
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"dependencies": {},
"devDependencies": {
"autoprefixer": "^5.2.0",
"codeclimate-test-reporter": "^0.1.0",
"grunt": "^0.4.5",
"grunt-autoprefixer": "^3.0.3",
"grunt-codeclimate-reporter": "^1.1.2",
Expand Down

0 comments on commit 18e763a

Please sign in to comment.