language: node_js
node_js:
  - 'iojs'
env:
  - CMD=test
  - CMD=typecheck
  - CMD=lint
script: npm run $CMD

language: node_js
node_js:
  - "4"
env:
  - CMD=test
  - CMD=typecheck
  - CMD=lint
script: npm run $CMD

Use node v4 on Travis CI
Use node v4 on Travis CI
