Matt Coles 9 vuotta sitten
vanhempi
commit
c9d325e446
2 muutettua tiedostoa jossa 6 lisäystä ja 1 poistoa
  1. 3 1
      package.json
  2. 3 0
      travis.yml

+ 3 - 1
package.json

4
   "description": "Server for the IP project",
4
   "description": "Server for the IP project",
5
   "main": "index.js",
5
   "main": "index.js",
6
   "scripts": {
6
   "scripts": {
7
-    "test": "jasmine-node --verbose --captureExceptions spec; node utils/flushdb.js"
7
+    "pretest": "node index.js &",
8
+    "test": "sleep 2; jasmine-node --verbose --captureExceptions spec; node utils/flushdb.js",
9
+    "posttest": "killall node"
8
   },
10
   },
9
   "repository": {
11
   "repository": {
10
     "type": "git",
12
     "type": "git",

+ 3 - 0
travis.yml

1
+language: node_js
2
+node_js:
3
+  - "5"