Skip to content

Instantly share code, notes, and snippets.

@robtarr
Created March 9, 2015 15:34
Show Gist options
  • Save robtarr/95a1babcf73c284d068a to your computer and use it in GitHub Desktop.
Save robtarr/95a1babcf73c284d068a to your computer and use it in GitHub Desktop.
test:
override:
- ./node_modules/.bin/gulp ci
Exclude patterns:
js/lib/*
specs/lib/*
gulp.task("ci", ['build', 'test'])
module.exports = (gulp, cfg, env) ->
karma = require('karma').server
gulp.task 'karma', (done) ->
karma.start
configFile: cfg.karmaConfig
singleRun: true
, done
test:
override:
- ./node_modules/.bin/gulp ci
- CODECLIMATE_REPO_TOKEN=$CodeClimateToken ./node_modules/.bin/codeclimate < reports/coverage/lcov.info
gulp.task("ci", ['build', 'karma'])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment