language: node_js

os:
  - linux
  - osx

branches:
  only:
    - master

node_js:
  - "node"
  - "6"
  - "5"
  - "4"

before_script:
 - chmod +x ./scripts/travis-build.sh

script: ./scripts/travis-build.sh

language: node_js

os:
  - linux
  - osx

branches:
  only:
    - master

node_js:
  - "node"
  - "6"
  - "5"
  - "4"

before_script:
 - chmod +x ./scripts/travis-build.sh

script: ./scripts/travis-build.sh

cache:
  directories:
    - node_modules

Revert "Do not cache node_modules in Travis"
Revert "Do not cache node_modules in Travis"

This reverts commit ff2df88701360319f4f0687ffe4177fc4bbc1ded.
