.travis.yml 955 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. version: ~> 1.0
  2. language: node_js
  3. os:
  4. - linux
  5. cache:
  6. directories:
  7. - "$HOME/.npm"
  8. - "$(nvm cache dir)"
  9. - "$(nvm_version_path $(nvm_version_remote 0.4))"
  10. - "$(nvm_version_path $(nvm_version_remote 0.6))"
  11. - "$(nvm_version_path $(nvm_version_remote 0.10))"
  12. import:
  13. - ljharb/travis-ci:node/all.yml
  14. - ljharb/travis-ci:node/pretest.yml
  15. - ljharb/travis-ci:node/posttest.yml
  16. script:
  17. - 'if [ -n "${COVERAGE-}" ]; then npm run coverage && bash <(curl -s https://codecov.io/bash) -f coverage/*.json; fi'
  18. - 'if [ -n "${SES-}" ]; then node test/ses-compat; fi'
  19. matrix:
  20. include:
  21. - node_js: "8"
  22. env: COVERAGE=true
  23. - node_js: "4"
  24. env: COVERAGE=true
  25. - node_js: "0.12"
  26. env: COVERAGE=true
  27. - node_js: "0.8"
  28. env: COVERAGE=true
  29. - node_js: "lts/*"
  30. env: SES=true
  31. exclude:
  32. - node_js: "0.12"
  33. env: TEST=true
  34. - node_js: "0.8"
  35. env: TEST=true
  36. allow_failures:
  37. - env: SES=true