language: node_js

sudo: false

node_js:
  - "node"

script:
  - npm run lint
  - npm run coverage
  - npm run build

after_script:
  - npm i -g codecov
  - nyc report --reporter=text-lcov > coverage.lcov
  - codecov

language: node_js

sudo: false

node_js:
  - "6"

script:
  - npm run lint
  - npm run coverage
  - npm run build

after_script:
  - npm i -g codecov
  - nyc report --reporter=text-lcov > coverage.lcov
  - codecov

Set Node version to 6.x in Travis CI config
Set Node version to 6.x in Travis CI config
