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.

Revisions

  1. robtarr created this gist Mar 9, 2015.
    3 changes: 3 additions & 0 deletions circle.yml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    test:
    override:
    - ./node_modules/.bin/gulp ci
    3 changes: 3 additions & 0 deletions codeclimate-exclude.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    Exclude patterns:
    js/lib/*
    specs/lib/*
    1 change: 1 addition & 0 deletions gulpfile.coffee
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    gulp.task("ci", ['build', 'test'])
    7 changes: 7 additions & 0 deletions karma.coffee
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    module.exports = (gulp, cfg, env) ->
    karma = require('karma').server
    gulp.task 'karma', (done) ->
    karma.start
    configFile: cfg.karmaConfig
    singleRun: true
    , done
    4 changes: 4 additions & 0 deletions updated-circle.yml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    test:
    override:
    - ./node_modules/.bin/gulp ci
    - CODECLIMATE_REPO_TOKEN=$CodeClimateToken ./node_modules/.bin/codeclimate < reports/coverage/lcov.info
    1 change: 1 addition & 0 deletions updated-gruntfile.coffee
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    gulp.task("ci", ['build', 'karma'])