mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
run acceptance tests on travis under forever
This commit is contained in:
parent
ad379ec103
commit
f4ac7d422b
3 changed files with 11 additions and 1 deletions
|
@ -10,6 +10,9 @@ install:
|
|||
- npm install
|
||||
- grunt install
|
||||
|
||||
before_script:
|
||||
- grunt forever:app:start
|
||||
|
||||
script:
|
||||
- grunt test:unit
|
||||
- grunt test:acceptance
|
||||
|
|
|
@ -2,6 +2,11 @@ module.exports = (grunt) ->
|
|||
|
||||
# Project configuration.
|
||||
grunt.initConfig
|
||||
forever:
|
||||
app:
|
||||
options:
|
||||
index: "app.js"
|
||||
|
||||
coffee:
|
||||
server:
|
||||
expand: true,
|
||||
|
@ -73,6 +78,7 @@ module.exports = (grunt) ->
|
|||
grunt.loadNpmTasks 'grunt-contrib-clean'
|
||||
grunt.loadNpmTasks 'grunt-concurrent'
|
||||
grunt.loadNpmTasks 'grunt-mocha-test'
|
||||
grunt.loadNpmTasks 'grunt-forever'
|
||||
|
||||
grunt.registerTask "test:unit", ["coffee", "mochaTest:unit"]
|
||||
grunt.registerTask "test:acceptence", ["coffee", "mochaTest:acceptence"]
|
||||
|
|
|
@ -37,6 +37,7 @@
|
|||
"grunt-contrib-watch": "0.5.3",
|
||||
"grunt-nodemon": "0.2.1",
|
||||
"grunt-contrib-clean": "0.5.0",
|
||||
"grunt-concurrent": "0.4.2"
|
||||
"grunt-concurrent": "0.4.2",
|
||||
"grunt-forever": "~0.4.4"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue