mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-10 06:39:01 +02:00
Use grunt forever to run service daemonized for acceptance testing on travis
This commit is contained in:
@@ -4,3 +4,4 @@ app/js
|
||||
app.js
|
||||
test/unit/js
|
||||
test/acceptance/js
|
||||
forever/
|
||||
|
||||
@@ -11,7 +11,7 @@ install:
|
||||
- grunt install
|
||||
|
||||
before_script:
|
||||
- grunt run
|
||||
- grunt forever:app:start
|
||||
|
||||
script:
|
||||
- grunt test:unit
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
"grunt-available-tasks": "~0.4.2",
|
||||
"grunt-contrib-coffee": "~0.10.1",
|
||||
"bunyan": "~0.22.1",
|
||||
"grunt-bunyan": "~0.5.0"
|
||||
"grunt-bunyan": "~0.5.0",
|
||||
"grunt-forever": "~0.4.2"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user