language: node_js
node_js:
  - "lts/*"
  - "node"
install:
  - npm install
before_script:
  - npm run tslint-check
script:
  - npm run lint:ci
  - npm run build:all
  - npm run cypress:ci
matrix:
  fast_finish: true
  allow_failures:
    - node_js: "node"

language: node_js
node_js:
  - "lts/*"
  - "node"
before_script:
  - npm run tslint-check
script:
  - npm run lint:ci
  - npm run build:all
  - npm run cypress:ci
matrix:
  fast_finish: true
  allow_failures:
    - node_js: "node"

Use npm ci if supported
Use npm ci if supported

The default install script is `npm install`. If package-lock.json and
the version of npm supports it, `npm ci` is used instead[1], which has a
large performance benefit.

Node version 10.3.0 was just released, and in the changelog[2] it notes
that npm has been upgraded to version 6.1.0.

[1]: https://docs.travis-ci.com/user/languages/javascript-with-nodejs#npm-ci-support
[2]: https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V10.md#2018-05-29-version-1030-current-mylesborins
