Skip to content

Commit

Permalink
Configure code climate for Travis.
Browse files Browse the repository at this point in the history
  • Loading branch information
dompuiu committed May 5, 2017
1 parent 549db4c commit 458ef61
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
addons:
code_climate:
repo_token: f2b3d8098cb4578112ed889d0f0f1d548b0d7832ac2aeedd91a5656873cca5ff
after_script:
- "npm install -g coveralls"
- "cat coverage/lcov.dat | coveralls"
after_success:
- "npm install -g codeclimate-test-reporter"
- "codeclimate-test-reporter < coverage/lcov.dat"

0 comments on commit 458ef61

Please sign in to comment.