.travis.yml 461 B

12345678910111213141516171819
  1. language: node_js
  2. node_js:
  3. - "0.10"
  4. - "4.8"
  5. - "6.11"
  6. - "8.1"
  7. sudo: false
  8. cache:
  9. directories:
  10. - node_modules
  11. before_install:
  12. # Skip updating shrinkwrap / lock
  13. - "npm config set shrinkwrap false"
  14. # Update Node.js modules
  15. - "test ! -d node_modules || npm prune"
  16. - "test ! -d node_modules || npm rebuild"
  17. after_script:
  18. # Report coverage
  19. - "test -e ./coverage/lcov.info && npm install coveralls@2 && cat ./coverage/lcov.info | coveralls"