language: node_js

# sudo: false

node_js:
  - "4"
  - "6"

cache:
  directories:
    - node_modules

script:
  - "npm test"

language: node_js

# sudo: false

node_js:
  - "4"
  - "6"

cache:
  directories:
    - node_modules

before_script:
  - "npm run build"

script:
  - "npm test"

Add build step to Travis CI before running tests
Add build step to Travis CI before running tests
