.travis.yml 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  1. language: node_js
  2. os:
  3. - linux
  4. node_js:
  5. - "10.7"
  6. - "9.11"
  7. - "8.11"
  8. - "7.10"
  9. - "6.14"
  10. - "5.12"
  11. - "4.9"
  12. - "iojs-v3.3"
  13. - "iojs-v2.5"
  14. - "iojs-v1.8"
  15. - "0.12"
  16. - "0.10"
  17. - "0.8"
  18. before_install:
  19. - 'case "${TRAVIS_NODE_VERSION}" in 0.*) export NPM_CONFIG_STRICT_SSL=false ;; esac'
  20. - 'nvm install-latest-npm'
  21. install:
  22. - '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;'
  23. script:
  24. - 'if [ -n "${PRETEST-}" ]; then npm run pretest ; fi'
  25. - 'if [ -n "${POSTTEST-}" ]; then npm run posttest ; fi'
  26. - 'if [ -n "${COVERAGE-}" ]; then npm run coverage ; fi'
  27. - 'if [ -n "${TEST-}" ]; then npm run tests-only ; fi'
  28. sudo: false
  29. env:
  30. - TEST=true
  31. matrix:
  32. fast_finish: true
  33. include:
  34. - node_js: "lts/*"
  35. env: PRETEST=true
  36. - node_js: "lts/*"
  37. env: POSTTEST=true
  38. - node_js: "4"
  39. env: COVERAGE=true
  40. - node_js: "10.6"
  41. env: TEST=true ALLOW_FAILURE=true
  42. - node_js: "10.5"
  43. env: TEST=true ALLOW_FAILURE=true
  44. - node_js: "10.4"
  45. env: TEST=true ALLOW_FAILURE=true
  46. - node_js: "10.3"
  47. env: TEST=true ALLOW_FAILURE=true
  48. - node_js: "10.2"
  49. env: TEST=true ALLOW_FAILURE=true
  50. - node_js: "10.1"
  51. env: TEST=true ALLOW_FAILURE=true
  52. - node_js: "10.0"
  53. env: TEST=true ALLOW_FAILURE=true
  54. - node_js: "9.10"
  55. env: TEST=true ALLOW_FAILURE=true
  56. - node_js: "9.9"
  57. env: TEST=true ALLOW_FAILURE=true
  58. - node_js: "9.8"
  59. env: TEST=true ALLOW_FAILURE=true
  60. - node_js: "9.7"
  61. env: TEST=true ALLOW_FAILURE=true
  62. - node_js: "9.6"
  63. env: TEST=true ALLOW_FAILURE=true
  64. - node_js: "9.5"
  65. env: TEST=true ALLOW_FAILURE=true
  66. - node_js: "9.4"
  67. env: TEST=true ALLOW_FAILURE=true
  68. - node_js: "9.3"
  69. env: TEST=true ALLOW_FAILURE=true
  70. - node_js: "9.2"
  71. env: TEST=true ALLOW_FAILURE=true
  72. - node_js: "9.1"
  73. env: TEST=true ALLOW_FAILURE=true
  74. - node_js: "9.0"
  75. env: TEST=true ALLOW_FAILURE=true
  76. - node_js: "8.10"
  77. env: TEST=true ALLOW_FAILURE=true
  78. - node_js: "8.9"
  79. env: TEST=true ALLOW_FAILURE=true
  80. - node_js: "8.8"
  81. env: TEST=true ALLOW_FAILURE=true
  82. - node_js: "8.7"
  83. env: TEST=true ALLOW_FAILURE=true
  84. - node_js: "8.6"
  85. env: TEST=true ALLOW_FAILURE=true
  86. - node_js: "8.5"
  87. env: TEST=true ALLOW_FAILURE=true
  88. - node_js: "8.4"
  89. env: TEST=true ALLOW_FAILURE=true
  90. - node_js: "8.3"
  91. env: TEST=true ALLOW_FAILURE=true
  92. - node_js: "8.2"
  93. env: TEST=true ALLOW_FAILURE=true
  94. - node_js: "8.1"
  95. env: TEST=true ALLOW_FAILURE=true
  96. - node_js: "8.0"
  97. env: TEST=true ALLOW_FAILURE=true
  98. - node_js: "7.9"
  99. env: TEST=true ALLOW_FAILURE=true
  100. - node_js: "7.8"
  101. env: TEST=true ALLOW_FAILURE=true
  102. - node_js: "7.7"
  103. env: TEST=true ALLOW_FAILURE=true
  104. - node_js: "7.6"
  105. env: TEST=true ALLOW_FAILURE=true
  106. - node_js: "7.5"
  107. env: TEST=true ALLOW_FAILURE=true
  108. - node_js: "7.4"
  109. env: TEST=true ALLOW_FAILURE=true
  110. - node_js: "7.3"
  111. env: TEST=true ALLOW_FAILURE=true
  112. - node_js: "7.2"
  113. env: TEST=true ALLOW_FAILURE=true
  114. - node_js: "7.1"
  115. env: TEST=true ALLOW_FAILURE=true
  116. - node_js: "7.0"
  117. env: TEST=true ALLOW_FAILURE=true
  118. - node_js: "6.13"
  119. env: TEST=true ALLOW_FAILURE=true
  120. - node_js: "6.12"
  121. env: TEST=true ALLOW_FAILURE=true
  122. - node_js: "6.11"
  123. env: TEST=true ALLOW_FAILURE=true
  124. - node_js: "6.10"
  125. env: TEST=true ALLOW_FAILURE=true
  126. - node_js: "6.9"
  127. env: TEST=true ALLOW_FAILURE=true
  128. - node_js: "6.8"
  129. env: TEST=true ALLOW_FAILURE=true
  130. - node_js: "6.7"
  131. env: TEST=true ALLOW_FAILURE=true
  132. - node_js: "6.6"
  133. env: TEST=true ALLOW_FAILURE=true
  134. - node_js: "6.5"
  135. env: TEST=true ALLOW_FAILURE=true
  136. - node_js: "6.4"
  137. env: TEST=true ALLOW_FAILURE=true
  138. - node_js: "6.3"
  139. env: TEST=true ALLOW_FAILURE=true
  140. - node_js: "6.2"
  141. env: TEST=true ALLOW_FAILURE=true
  142. - node_js: "6.1"
  143. env: TEST=true ALLOW_FAILURE=true
  144. - node_js: "6.0"
  145. env: TEST=true ALLOW_FAILURE=true
  146. - node_js: "5.11"
  147. env: TEST=true ALLOW_FAILURE=true
  148. - node_js: "5.10"
  149. env: TEST=true ALLOW_FAILURE=true
  150. - node_js: "5.9"
  151. env: TEST=true ALLOW_FAILURE=true
  152. - node_js: "5.8"
  153. env: TEST=true ALLOW_FAILURE=true
  154. - node_js: "5.7"
  155. env: TEST=true ALLOW_FAILURE=true
  156. - node_js: "5.6"
  157. env: TEST=true ALLOW_FAILURE=true
  158. - node_js: "5.5"
  159. env: TEST=true ALLOW_FAILURE=true
  160. - node_js: "5.4"
  161. env: TEST=true ALLOW_FAILURE=true
  162. - node_js: "5.3"
  163. env: TEST=true ALLOW_FAILURE=true
  164. - node_js: "5.2"
  165. env: TEST=true ALLOW_FAILURE=true
  166. - node_js: "5.1"
  167. env: TEST=true ALLOW_FAILURE=true
  168. - node_js: "5.0"
  169. env: TEST=true ALLOW_FAILURE=true
  170. - node_js: "4.8"
  171. env: TEST=true ALLOW_FAILURE=true
  172. - node_js: "4.7"
  173. env: TEST=true ALLOW_FAILURE=true
  174. - node_js: "4.6"
  175. env: TEST=true ALLOW_FAILURE=true
  176. - node_js: "4.5"
  177. env: TEST=true ALLOW_FAILURE=true
  178. - node_js: "4.4"
  179. env: TEST=true ALLOW_FAILURE=true
  180. - node_js: "4.3"
  181. env: TEST=true ALLOW_FAILURE=true
  182. - node_js: "4.2"
  183. env: TEST=true ALLOW_FAILURE=true
  184. - node_js: "4.1"
  185. env: TEST=true ALLOW_FAILURE=true
  186. - node_js: "4.0"
  187. env: TEST=true ALLOW_FAILURE=true
  188. - node_js: "iojs-v3.2"
  189. env: TEST=true ALLOW_FAILURE=true
  190. - node_js: "iojs-v3.1"
  191. env: TEST=true ALLOW_FAILURE=true
  192. - node_js: "iojs-v3.0"
  193. env: TEST=true ALLOW_FAILURE=true
  194. - node_js: "iojs-v2.4"
  195. env: TEST=true ALLOW_FAILURE=true
  196. - node_js: "iojs-v2.3"
  197. env: TEST=true ALLOW_FAILURE=true
  198. - node_js: "iojs-v2.2"
  199. env: TEST=true ALLOW_FAILURE=true
  200. - node_js: "iojs-v2.1"
  201. env: TEST=true ALLOW_FAILURE=true
  202. - node_js: "iojs-v2.0"
  203. env: TEST=true ALLOW_FAILURE=true
  204. - node_js: "iojs-v1.7"
  205. env: TEST=true ALLOW_FAILURE=true
  206. - node_js: "iojs-v1.6"
  207. env: TEST=true ALLOW_FAILURE=true
  208. - node_js: "iojs-v1.5"
  209. env: TEST=true ALLOW_FAILURE=true
  210. - node_js: "iojs-v1.4"
  211. env: TEST=true ALLOW_FAILURE=true
  212. - node_js: "iojs-v1.3"
  213. env: TEST=true ALLOW_FAILURE=true
  214. - node_js: "iojs-v1.2"
  215. env: TEST=true ALLOW_FAILURE=true
  216. - node_js: "iojs-v1.1"
  217. env: TEST=true ALLOW_FAILURE=true
  218. - node_js: "iojs-v1.0"
  219. env: TEST=true ALLOW_FAILURE=true
  220. - node_js: "0.11"
  221. env: TEST=true ALLOW_FAILURE=true
  222. - node_js: "0.9"
  223. env: TEST=true ALLOW_FAILURE=true
  224. - node_js: "0.6"
  225. env: TEST=true ALLOW_FAILURE=true
  226. - node_js: "0.4"
  227. env: TEST=true ALLOW_FAILURE=true
  228. allow_failures:
  229. - os: osx
  230. - env: TEST=true ALLOW_FAILURE=true