language: node_js
sudo: false
node_js:
  - "4"
  - "5"
  - "6"
script:
  - "npm run lint"
  - "npm run coverage"
after_script: "cat ./coverage/lcov.info | ./node_modules/.bin/coveralls"
env:
  - REACT=0.14
  - REACT=15.4
  - REACT=15.5
before_script: "sh install-relevant-react.sh"

language: node_js
sudo: false
node_js:
  - "4"
  - "6"
  - "node"
script:
  - "npm run lint"
  - "npm run coverage"
after_script: "cat ./coverage/lcov.info | ./node_modules/.bin/coveralls"
env:
  - REACT=0.14
  - REACT=15.4
  - REACT=15.5
before_script: "sh install-relevant-react.sh"

Stop testing on node 5, start testing on node latest
Stop testing on node 5, start testing on node latest