.travis.yml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. language: node_js
  2. node_js:
  3. - "6.6"
  4. - "6.5"
  5. - "6.4"
  6. - "6.3"
  7. - "6.2"
  8. - "6.1"
  9. - "6.0"
  10. - "5.12"
  11. - "5.11"
  12. - "5.10"
  13. - "5.9"
  14. - "5.8"
  15. - "5.7"
  16. - "5.6"
  17. - "5.5"
  18. - "5.4"
  19. - "5.3"
  20. - "5.2"
  21. - "5.1"
  22. - "5.0"
  23. - "4.5"
  24. - "4.4"
  25. - "4.3"
  26. - "4.2"
  27. - "4.1"
  28. - "4.0"
  29. - "iojs-v3.3"
  30. - "iojs-v3.2"
  31. - "iojs-v3.1"
  32. - "iojs-v3.0"
  33. - "iojs-v2.5"
  34. - "iojs-v2.4"
  35. - "iojs-v2.3"
  36. - "iojs-v2.2"
  37. - "iojs-v2.1"
  38. - "iojs-v2.0"
  39. - "iojs-v1.8"
  40. - "iojs-v1.7"
  41. - "iojs-v1.6"
  42. - "iojs-v1.5"
  43. - "iojs-v1.4"
  44. - "iojs-v1.3"
  45. - "iojs-v1.2"
  46. - "iojs-v1.1"
  47. - "iojs-v1.0"
  48. - "0.12"
  49. - "0.11"
  50. - "0.10"
  51. - "0.9"
  52. - "0.8"
  53. - "0.6"
  54. - "0.4"
  55. before_install:
  56. - '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'
  57. - 'if [ "${TRAVIS_NODE_VERSION}" != "0.6" ] && [ "${TRAVIS_NODE_VERSION}" != "0.9" ]; then npm install -g npm; fi'
  58. script:
  59. - 'if [ -n "${LINT-}" ]; then npm run lint ; fi'
  60. - 'if [ -n "${COVERAGE-}" ]; then npm run coverage ; fi'
  61. - 'if [ -n "${TEST-}" ]; then npm run tests-only ; fi'
  62. sudo: false
  63. env:
  64. - TEST=true
  65. matrix:
  66. fast_finish: true
  67. include:
  68. - node_js: "node"
  69. env: LINT=true
  70. allow_failures:
  71. - node_js: "6.5"
  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"