mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-14 20:40:17 -05:00
Set up acceptance tests in TravisCI
This commit is contained in:
parent
f3192da87f
commit
77c5a27e12
4 changed files with 14 additions and 1 deletions
2
services/document-updater/.gitignore
vendored
2
services/document-updater/.gitignore
vendored
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue