.travis.yml 328 B

12345678910
  1. language: node_js
  2. node_js:
  3. - node
  4. - lts/*
  5. script:
  6. - npm run lint
  7. # test-coverage will also run the tests, but does not print helpful output upon test failure.
  8. # So we also run the tests separately.
  9. - npm run test
  10. - npm run test-coverage && cat coverage/lcov.info | ./node_modules/.bin/coveralls && rm -rf coverage