Repositorio del curso CCOM4030 el semestre B91 del proyecto kilometro0

.travis.yml 931B

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