Set up acceptance tests in TravisCI

This commit is contained in:
James Allen 2014-02-26 16:54:35 +00:00
parent f3192da87f
commit 77c5a27e12
4 changed files with 14 additions and 1 deletions

View file

@ -43,4 +43,6 @@ app/js/*
test/unit/js/*
test/acceptance/js/*
forever/
**.swp

View file

@ -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

View file

@ -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"

View file

@ -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"
}
}