.travis.yml 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225
  1. language: node_js
  2. os:
  3. - linux
  4. node_js:
  5. - "10.4"
  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.3"
  41. env: TEST=true ALLOW_FAILURE=true
  42. - node_js: "10.2"
  43. env: TEST=true ALLOW_FAILURE=true
  44. - node_js: "10.1"
  45. env: TEST=true ALLOW_FAILURE=true
  46. - node_js: "10.0"
  47. env: TEST=true ALLOW_FAILURE=true
  48. - node_js: "9.10"
  49. env: TEST=true ALLOW_FAILURE=true
  50. - node_js: "9.9"
  51. env: TEST=true ALLOW_FAILURE=true
  52. - node_js: "9.8"
  53. env: TEST=true ALLOW_FAILURE=true
  54. - node_js: "9.7"
  55. env: TEST=true ALLOW_FAILURE=true
  56. - node_js: "9.6"
  57. env: TEST=true ALLOW_FAILURE=true
  58. - node_js: "9.5"
  59. env: TEST=true ALLOW_FAILURE=true
  60. - node_js: "9.4"
  61. env: TEST=true ALLOW_FAILURE=true
  62. - node_js: "9.3"
  63. env: TEST=true ALLOW_FAILURE=true
  64. - node_js: "9.2"
  65. env: TEST=true ALLOW_FAILURE=true
  66. - node_js: "9.1"
  67. env: TEST=true ALLOW_FAILURE=true
  68. - node_js: "9.0"
  69. env: TEST=true ALLOW_FAILURE=true
  70. - node_js: "8.10"
  71. env: TEST=true ALLOW_FAILURE=true
  72. - node_js: "8.9"
  73. env: TEST=true ALLOW_FAILURE=true
  74. - node_js: "8.8"
  75. env: TEST=true ALLOW_FAILURE=true
  76. - node_js: "8.7"
  77. env: TEST=true ALLOW_FAILURE=true
  78. - node_js: "8.6"
  79. env: TEST=true ALLOW_FAILURE=true
  80. - node_js: "8.5"
  81. env: TEST=true ALLOW_FAILURE=true
  82. - node_js: "8.4"
  83. env: TEST=true ALLOW_FAILURE=true
  84. - node_js: "8.3"
  85. env: TEST=true ALLOW_FAILURE=true
  86. - node_js: "8.2"
  87. env: TEST=true ALLOW_FAILURE=true
  88. - node_js: "8.1"
  89. env: TEST=true ALLOW_FAILURE=true
  90. - node_js: "8.0"
  91. env: TEST=true ALLOW_FAILURE=true
  92. - node_js: "7.9"
  93. env: TEST=true ALLOW_FAILURE=true
  94. - node_js: "7.8"
  95. env: TEST=true ALLOW_FAILURE=true
  96. - node_js: "7.7"
  97. env: TEST=true ALLOW_FAILURE=true
  98. - node_js: "7.6"
  99. env: TEST=true ALLOW_FAILURE=true
  100. - node_js: "7.5"
  101. env: TEST=true ALLOW_FAILURE=true
  102. - node_js: "7.4"
  103. env: TEST=true ALLOW_FAILURE=true
  104. - node_js: "7.3"
  105. env: TEST=true ALLOW_FAILURE=true
  106. - node_js: "7.2"
  107. env: TEST=true ALLOW_FAILURE=true
  108. - node_js: "7.1"
  109. env: TEST=true ALLOW_FAILURE=true
  110. - node_js: "7.0"
  111. env: TEST=true ALLOW_FAILURE=true
  112. - node_js: "6.13"
  113. env: TEST=true ALLOW_FAILURE=true
  114. - node_js: "6.12"
  115. env: TEST=true ALLOW_FAILURE=true
  116. - node_js: "6.11"
  117. env: TEST=true ALLOW_FAILURE=true
  118. - node_js: "6.10"
  119. env: TEST=true ALLOW_FAILURE=true
  120. - node_js: "6.9"
  121. env: TEST=true ALLOW_FAILURE=true
  122. - node_js: "6.8"
  123. env: TEST=true ALLOW_FAILURE=true
  124. - node_js: "6.7"
  125. env: TEST=true ALLOW_FAILURE=true
  126. - node_js: "6.6"
  127. env: TEST=true ALLOW_FAILURE=true
  128. - node_js: "6.5"
  129. env: TEST=true ALLOW_FAILURE=true
  130. - node_js: "6.4"
  131. env: TEST=true ALLOW_FAILURE=true
  132. - node_js: "6.3"
  133. env: TEST=true ALLOW_FAILURE=true
  134. - node_js: "6.2"
  135. env: TEST=true ALLOW_FAILURE=true
  136. - node_js: "6.1"
  137. env: TEST=true ALLOW_FAILURE=true
  138. - node_js: "6.0"
  139. env: TEST=true ALLOW_FAILURE=true
  140. - node_js: "5.11"
  141. env: TEST=true ALLOW_FAILURE=true
  142. - node_js: "5.10"
  143. env: TEST=true ALLOW_FAILURE=true
  144. - node_js: "5.9"
  145. env: TEST=true ALLOW_FAILURE=true
  146. - node_js: "5.8"
  147. env: TEST=true ALLOW_FAILURE=true
  148. - node_js: "5.7"
  149. env: TEST=true ALLOW_FAILURE=true
  150. - node_js: "5.6"
  151. env: TEST=true ALLOW_FAILURE=true
  152. - node_js: "5.5"
  153. env: TEST=true ALLOW_FAILURE=true
  154. - node_js: "5.4"
  155. env: TEST=true ALLOW_FAILURE=true
  156. - node_js: "5.3"
  157. env: TEST=true ALLOW_FAILURE=true
  158. - node_js: "5.2"
  159. env: TEST=true ALLOW_FAILURE=true
  160. - node_js: "5.1"
  161. env: TEST=true ALLOW_FAILURE=true
  162. - node_js: "5.0"
  163. env: TEST=true ALLOW_FAILURE=true
  164. - node_js: "4.8"
  165. env: TEST=true ALLOW_FAILURE=true
  166. - node_js: "4.7"
  167. env: TEST=true ALLOW_FAILURE=true
  168. - node_js: "4.6"
  169. env: TEST=true ALLOW_FAILURE=true
  170. - node_js: "4.5"
  171. env: TEST=true ALLOW_FAILURE=true
  172. - node_js: "4.4"
  173. env: TEST=true ALLOW_FAILURE=true
  174. - node_js: "4.3"
  175. env: TEST=true ALLOW_FAILURE=true
  176. - node_js: "4.2"
  177. env: TEST=true ALLOW_FAILURE=true
  178. - node_js: "4.1"
  179. env: TEST=true ALLOW_FAILURE=true
  180. - node_js: "4.0"
  181. env: TEST=true ALLOW_FAILURE=true
  182. - node_js: "iojs-v3.2"
  183. env: TEST=true ALLOW_FAILURE=true
  184. - node_js: "iojs-v3.1"
  185. env: TEST=true ALLOW_FAILURE=true
  186. - node_js: "iojs-v3.0"
  187. env: TEST=true ALLOW_FAILURE=true
  188. - node_js: "iojs-v2.4"
  189. env: TEST=true ALLOW_FAILURE=true
  190. - node_js: "iojs-v2.3"
  191. env: TEST=true ALLOW_FAILURE=true
  192. - node_js: "iojs-v2.2"
  193. env: TEST=true ALLOW_FAILURE=true
  194. - node_js: "iojs-v2.1"
  195. env: TEST=true ALLOW_FAILURE=true
  196. - node_js: "iojs-v2.0"
  197. env: TEST=true ALLOW_FAILURE=true
  198. - node_js: "iojs-v1.7"
  199. env: TEST=true ALLOW_FAILURE=true
  200. - node_js: "iojs-v1.6"
  201. env: TEST=true ALLOW_FAILURE=true
  202. - node_js: "iojs-v1.5"
  203. env: TEST=true ALLOW_FAILURE=true
  204. - node_js: "iojs-v1.4"
  205. env: TEST=true ALLOW_FAILURE=true
  206. - node_js: "iojs-v1.3"
  207. env: TEST=true ALLOW_FAILURE=true
  208. - node_js: "iojs-v1.2"
  209. env: TEST=true ALLOW_FAILURE=true
  210. - node_js: "iojs-v1.1"
  211. env: TEST=true ALLOW_FAILURE=true
  212. - node_js: "iojs-v1.0"
  213. env: TEST=true ALLOW_FAILURE=true
  214. - node_js: "0.11"
  215. env: TEST=true ALLOW_FAILURE=true
  216. - node_js: "0.9"
  217. env: TEST=true ALLOW_FAILURE=true
  218. - node_js: "0.6"
  219. env: TEST=true ALLOW_FAILURE=true
  220. - node_js: "0.4"
  221. env: TEST=true ALLOW_FAILURE=true
  222. allow_failures:
  223. - os: osx
  224. - env: TEST=true ALLOW_FAILURE=true
  225. - env: COVERAGE=true