.travis.yml 652 B

1234567891011121314151617181920212223
  1. language: node_js
  2. node_js:
  3. - "10"
  4. - "9"
  5. - "8"
  6. - "6"
  7. - "4"
  8. - "iojs"
  9. - "0.12"
  10. - "0.10"
  11. - "0.8"
  12. - "0.6"
  13. before_install:
  14. # Old npm certs are untrusted https://github.com/npm/npm/issues/20191
  15. - 'if [ "${TRAVIS_NODE_VERSION}" = "0.6" ] || [ "${TRAVIS_NODE_VERSION}" = "0.8" ]; then export NPM_CONFIG_STRICT_SSL=false; fi'
  16. - 'nvm install-latest-npm'
  17. install:
  18. - 'if [ "${TRAVIS_NODE_VERSION}" = "0.6" ] || [ "${TRAVIS_NODE_VERSION}" = "0.9" ]; then nvm install --latest-npm 0.8 && npm install && nvm use "${TRAVIS_NODE_VERSION}"; else npm install; fi;'
  19. sudo: false
  20. matrix:
  21. fast_finish: true
  22. allow_failures:
  23. - node_js: "0.6"