language: node_js
node_js:
    - "4.2.0"
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
    - sudo netstat -plunt
    - sleep 5
    - cat forever-ds.log
    - curl http://localhost:9101/
    - coffee commands.coffee test-install konnectors
    - cd ..
    - export NAME=konnectors
    - export TOKEN=apptoken
    - mkdir log

after_failure:
    - cat cozy-data-system/forever-ds.log
    - cat cozy-data-system/log/test.log

language: node_js
node_js:
    - 0.10
    - 4
    - 6
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
    - pwd
    - NAME=data-system TOKEN=token forever start -o forever-ds.log build/server.js
    - ps aux | grep server.js
    - sudo netstat -plunt
    - sleep 5
    - cat forever-ds.log
    - curl http://localhost:9101/
    - coffee commands.coffee test-install konnectors
    - cd ..
    - export NAME=konnectors
    - export TOKEN=apptoken
    - mkdir log

after_failure:
    - cat cozy-data-system/forever-ds.log
    - cat cozy-data-system/log/test.log

Add more Node.js version to Travis build
Add more Node.js version to Travis build

Node versions 0.10 and 6
