forked from cozy/cozy-contacts-v2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
33 lines (32 loc) · 815 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
language: node_js
matrix:
fast_finish: true
allow_failures:
- node_js: "0.12"
node_js:
- "0.10"
- "0.12"
services:
- couchdb
env:
global:
- NODE_ENV=test
before_install:
- git clone git://github.com/mycozycloud/cozy-data-system.git
- cd cozy-data-system
- npm install forever coffee-script -g
- npm install # data-system
- pwd
- NAME=data-system TOKEN=token forever start -o forever-ds.log build/server.js
- ps aux | grep server.js
- sleep 5
- cat forever-ds.log
- sudo netstat -plunt
- curl http://localhost:9101/
- coffee commands.coffee test-install contacts
- cd ..
- export NAME=contacts
- export TOKEN=apptoken
after_failure:
- cat cozy-data-system/forever-ds.log
- cat cozy-data-system/log/test.log