language: node_js

node_js:
  - "lts/*"
  - "8"

before_install:
  - npm install -g npm@5
  - npm install -g serverless
  - npm install -g greenkeeper-lockfile@1

before_script:
  - greenkeeper-lockfile-update

after_script:
  - greenkeeper-lockfile-upload

after_success:
  - npm run coverage

script:
  - npm run build

language: node_js

node_js:
  - "lts/*"
  - "8"

before_install:
  - npm install -g npm@6
  - npm install -g serverless
  - npm install -g greenkeeper-lockfile@1

before_script:
  - greenkeeper-lockfile-update

after_script:
  - greenkeeper-lockfile-upload

after_success:
  - npm run coverage

script:
  - npm run build

Use npm v6 instead of v5 in Travis to speed up the package installation.
UPDATED: Use npm v6 instead of v5 in Travis to speed up the package installation.
