mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-14 20:40:17 -05:00
Use grunt forever to run service daemonized for acceptance testing on travis
This commit is contained in:
parent
53db11466b
commit
3570e8f408
4 changed files with 10 additions and 2 deletions
1
services/track-changes/.gitignore
vendored
1
services/track-changes/.gitignore
vendored
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue