language: node_js

# use latest LTS Node.js release
node_js: lts/*

# run `npm ci` instead of `npm install`
before_install: dpkg --compare-versions `npm -v` ge 5.8 || npm i -g npm@^5.8
install: npm ci

# run `build` script instead of `test`
script: npm run build

# keep the npm cache around to speed up installs
cache:
  directories: $HOME/.npm

Add configuration for Travis CI
Add configuration for Travis CI
