.travis.yml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. language: node_js
  2. node_js:
  3. - "6.5"
  4. - "6.4"
  5. - "6.3"
  6. - "6.2"
  7. - "6.1"
  8. - "6.0"
  9. - "5.12"
  10. - "5.11"
  11. - "5.10"
  12. - "5.9"
  13. - "5.8"
  14. - "5.7"
  15. - "5.6"
  16. - "5.5"
  17. - "5.4"
  18. - "5.3"
  19. - "5.2"
  20. - "5.1"
  21. - "5.0"
  22. - "4.5"
  23. - "4.4"
  24. - "4.3"
  25. - "4.2"
  26. - "4.1"
  27. - "4.0"
  28. - "iojs-v3.3"
  29. - "iojs-v3.2"
  30. - "iojs-v3.1"
  31. - "iojs-v3.0"
  32. - "iojs-v2.5"
  33. - "iojs-v2.4"
  34. - "iojs-v2.3"
  35. - "iojs-v2.2"
  36. - "iojs-v2.1"
  37. - "iojs-v2.0"
  38. - "iojs-v1.8"
  39. - "iojs-v1.7"
  40. - "iojs-v1.6"
  41. - "iojs-v1.5"
  42. - "iojs-v1.4"
  43. - "iojs-v1.3"
  44. - "iojs-v1.2"
  45. - "iojs-v1.1"
  46. - "iojs-v1.0"
  47. - "0.12"
  48. - "0.11"
  49. - "0.10"
  50. - "0.9"
  51. - "0.8"
  52. - "0.6"
  53. - "0.4"
  54. before_install:
  55. - 'if [ "${TRAVIS_NODE_VERSION}" != "0.9" ]; then case "$(npm --version)" in 1.*) npm install -g npm@1.4.28 ;; 2.*) npm install -g npm@2 ;; esac ; fi'
  56. - 'if [ "${TRAVIS_NODE_VERSION}" != "0.6" ] && [ "${TRAVIS_NODE_VERSION}" != "0.9" ]; then npm install -g npm; fi'
  57. script:
  58. - 'if [ -n "${LINT-}" ]; then npm run lint ; fi'
  59. - 'if [ -n "${COVERAGE-}" ]; then npm run coverage ; fi'
  60. - 'if [ -n "${TEST-}" ]; then npm run tests-only ; fi'
  61. sudo: false
  62. env:
  63. - TEST=true
  64. matrix:
  65. fast_finish: true
  66. include:
  67. - node_js: "node"
  68. env: LINT=true
  69. - node_js: "4"
  70. env: COVERAGE=true
  71. allow_failures:
  72. - node_js: "6.4"
  73. - node_js: "6.3"
  74. - node_js: "6.2"
  75. - node_js: "6.1"
  76. - node_js: "6.0"
  77. - node_js: "5.11"
  78. - node_js: "5.10"
  79. - node_js: "5.9"
  80. - node_js: "5.8"
  81. - node_js: "5.7"
  82. - node_js: "5.6"
  83. - node_js: "5.5"
  84. - node_js: "5.4"
  85. - node_js: "5.3"
  86. - node_js: "5.2"
  87. - node_js: "5.1"
  88. - node_js: "5.0"
  89. - node_js: "4.4"
  90. - node_js: "4.3"
  91. - node_js: "4.2"
  92. - node_js: "4.1"
  93. - node_js: "4.0"
  94. - node_js: "iojs-v3.2"
  95. - node_js: "iojs-v3.1"
  96. - node_js: "iojs-v3.0"
  97. - node_js: "iojs-v2.4"
  98. - node_js: "iojs-v2.3"
  99. - node_js: "iojs-v2.2"
  100. - node_js: "iojs-v2.1"
  101. - node_js: "iojs-v2.0"
  102. - node_js: "iojs-v1.7"
  103. - node_js: "iojs-v1.6"
  104. - node_js: "iojs-v1.5"
  105. - node_js: "iojs-v1.4"
  106. - node_js: "iojs-v1.3"
  107. - node_js: "iojs-v1.2"
  108. - node_js: "iojs-v1.1"
  109. - node_js: "iojs-v1.0"
  110. - node_js: "0.11"
  111. - node_js: "0.9"
  112. - node_js: "0.6"
  113. - node_js: "0.4"