Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 

40 linhas
864 B

  1. language: node_js
  2. os:
  3. - linux
  4. node_js:
  5. - "12"
  6. - "10"
  7. - "8"
  8. - "6"
  9. - "4"
  10. - "0.12"
  11. - "0.10"
  12. cache:
  13. directories:
  14. - node_modules
  15. after_success:
  16. - npm run coveralls
  17. before_install:
  18. - 'case "${TRAVIS_NODE_VERSION}" in 0.*) export NPM_CONFIG_STRICT_SSL=false ;; esac'
  19. - 'nvm install-latest-npm'
  20. install:
  21. - '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;'
  22. script:
  23. - 'if [ -n "${PRETEST-}" ]; then npm run pretest ; fi'
  24. - 'if [ -n "${TEST-}" ]; then npm run tests-only ; fi'
  25. sudo: false
  26. branches:
  27. only:
  28. - master
  29. env:
  30. - TEST=true
  31. matrix:
  32. fast_finish: true
  33. include:
  34. - node_js: "lts/*"
  35. env: PRETEST=true
  36. allow_failures:
  37. - os: osx
  38. - node_js: "0.12"
  39. - node_js: "0.10"