@@ -43,4 +43,6 @@ app/js/*
test/unit/js/*
test/acceptance/js/*
+forever/
+
**.swp
@@ -10,8 +10,12 @@ install:
- npm install
- grunt install
+before_script:
+ - grunt forever:app:start
script:
- grunt test:unit
+ - grunt test:acceptance
services:
- redis-server
@@ -5,8 +5,14 @@ module.exports = (grunt) ->
grunt.loadNpmTasks 'grunt-available-tasks'
grunt.loadNpmTasks 'grunt-execute'
grunt.loadNpmTasks 'grunt-bunyan'
+ grunt.loadNpmTasks 'grunt-forever'
grunt.initConfig
+ forever:
+ app:
+ options:
+ index: "app.js"
execute:
app:
src: "app.js"
@@ -25,6 +25,7 @@
"grunt-available-tasks": "~0.4.1",
"grunt-contrib-coffee": "~0.10.0",
"bunyan": "~0.22.1",
- "grunt-bunyan": "~0.5.0"
+ "grunt-bunyan": "~0.5.0",
+ "grunt-forever": "~0.4.2"
}