Skip to content

Commit

Permalink
Move upload coverage to .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
galkin committed Apr 18, 2016
1 parent a63e85a commit 31325b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Expand Up @@ -20,3 +20,5 @@ deploy:
on:
tags: true
repo: cybertk/abao
after_success:
- grunt uploadCoverage
3 changes: 0 additions & 3 deletions Gruntfile.coffee
Expand Up @@ -54,8 +54,6 @@ module.exports = (grunt) ->
command: 'cat coverage/coverage.lcov | ./node_modules/coveralls/bin/coveralls.js lib'

grunt.registerTask 'uploadCoverage', ->
return grunt.log.ok 'Bypass uploading' unless process.env['TRAVIS'] is 'true'

grunt.task.run 'shell:coveralls'

grunt.registerTask "default", [
Expand All @@ -67,7 +65,6 @@ module.exports = (grunt) ->
"coffeelint"
"coffeecov"
"mochaTest"
"uploadCoverage"
]

return

0 comments on commit 31325b1

Please sign in to comment.