.travis.yml 7.9 KB

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