.travis.yml 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349
  1. sudo: required
  2. language: go
  3. sevices:
  4. - docker
  5. addons:
  6. apt:
  7. packages:
  8. - docker-ce
  9. jobs:
  10. include:
  11. - stage: gotest
  12. script: make ci
  13. go: "1.7"
  14. - script: make ci
  15. go: "1.8"
  16. - script: make ci
  17. go: "1.9"
  18. - script: make ci
  19. go: "1.10"
  20. - script: make ci
  21. go: "1.11"
  22. - script: make ci
  23. go: "master"
  24. - stage: plain go app tests
  25. script: make testplain
  26. env: GO_VERSION=1.11
  27. - if: branch = master
  28. script: make testplain
  29. env: GO_VERSION=1.10
  30. - if: branch = master
  31. script: make testplain
  32. env: GO_VERSION=1.9
  33. - if: branch = master
  34. script: make testplain
  35. env: GO_VERSION=1.8
  36. - if: branch = master
  37. script: make testplain
  38. env: GO_VERSION=1.7
  39. - stage: net/http tests
  40. script: make testnethttp
  41. env: GO_VERSION=1.11
  42. - if: branch = master
  43. script: make testnethttp
  44. env: GO_VERSION=1.10
  45. - if: branch = master
  46. script: make testnethttp
  47. env: GO_VERSION=1.9
  48. - if: branch = master
  49. script: make testnethttp
  50. env: GO_VERSION=1.8
  51. - if: branch = master
  52. script: make testnethttp
  53. env: GO_VERSION=1.7
  54. - stage: gin tests
  55. script: make testgin
  56. env:
  57. - GO_VERSION=1.11
  58. - GIN_VERSION=v1.3.0
  59. - if: branch = master
  60. script: make testgin
  61. env:
  62. - GO_VERSION=1.10
  63. - GIN_VERSION=v1.3.0
  64. - if: branch = master
  65. script: make testgin
  66. env:
  67. - GO_VERSION=1.9
  68. - GIN_VERSION=v1.3.0
  69. - if: branch = master
  70. script: make testgin
  71. env:
  72. - GO_VERSION=1.8
  73. - GIN_VERSION=v1.3.0
  74. - if: branch = master
  75. script: make testgin
  76. env:
  77. - GO_VERSION=1.7
  78. - GIN_VERSION=v1.3.0
  79. - if: branch = master
  80. script: make testgin
  81. env:
  82. - GO_VERSION=1.11
  83. - GIN_VERSION=v1.2
  84. - if: branch = master
  85. script: make testgin
  86. env:
  87. - GO_VERSION=1.10
  88. - GIN_VERSION=v1.2
  89. - if: branch = master
  90. script: make testgin
  91. env:
  92. - GO_VERSION=1.9
  93. - GIN_VERSION=v1.2
  94. - if: branch = master
  95. script: make testgin
  96. env:
  97. - GO_VERSION=1.8
  98. - GIN_VERSION=v1.2
  99. - if: branch = master
  100. script: make testgin
  101. env:
  102. - GO_VERSION=1.7
  103. - GIN_VERSION=v1.2
  104. - if: branch = master
  105. script: make testgin
  106. env:
  107. - GO_VERSION=1.11
  108. - GIN_VERSION=v1.1
  109. - if: branch = master
  110. script: make testgin
  111. env:
  112. - GO_VERSION=1.10
  113. - GIN_VERSION=v1.1
  114. - if: branch = master
  115. script: make testgin
  116. env:
  117. - GO_VERSION=1.9
  118. - GIN_VERSION=v1.1
  119. - if: branch = master
  120. script: make testgin
  121. env:
  122. - GO_VERSION=1.8
  123. - GIN_VERSION=v1.1
  124. - if: branch = master
  125. script: make testgin
  126. env:
  127. - GO_VERSION=1.7
  128. - GIN_VERSION=v1.1
  129. - if: branch = master
  130. script: make testgin
  131. env:
  132. - GO_VERSION=1.11
  133. - GIN_VERSION=v1.0
  134. - if: branch = master
  135. script: make testgin
  136. env:
  137. - GO_VERSION=1.10
  138. - GIN_VERSION=v1.0
  139. - if: branch = master
  140. script: make testgin
  141. env:
  142. - GO_VERSION=1.9
  143. - GIN_VERSION=v1.0
  144. - if: branch = master
  145. script: make testgin
  146. env:
  147. - GO_VERSION=1.8
  148. - GIN_VERSION=v1.0
  149. - if: branch = master
  150. script: make testgin
  151. env:
  152. - GO_VERSION=1.7
  153. - GIN_VERSION=v1.0
  154. - stage: martini tests
  155. script: make testmartini
  156. env: GO_VERSION=1.11
  157. - if: branch = master
  158. script: make testmartini
  159. env: GO_VERSION=1.10
  160. - if: branch = master
  161. script: make testmartini
  162. env: GO_VERSION=1.9
  163. - if: branch = master
  164. script: make testmartini
  165. env: GO_VERSION=1.8
  166. - if: branch = master
  167. script: make testmartini
  168. env: GO_VERSION=1.7
  169. - stage: negroni tests
  170. script: make testnegroni
  171. env:
  172. - GO_VERSION=1.11
  173. - NEGRONI_VERSION=v1.0.0
  174. - if: branch = master
  175. script: make testnegroni
  176. env:
  177. - GO_VERSION=1.10
  178. - NEGRONI_VERSION=v1.0.0
  179. - if: branch = master
  180. script: make testnegroni
  181. env:
  182. - GO_VERSION=1.9
  183. - NEGRONI_VERSION=v1.0.0
  184. - if: branch = master
  185. script: make testnegroni
  186. env:
  187. - GO_VERSION=1.8
  188. - NEGRONI_VERSION=v1.0.0
  189. - if: branch = master
  190. script: make testnegroni
  191. env:
  192. - GO_VERSION=1.7
  193. - NEGRONI_VERSION=v1.0.0
  194. - if: branch = master
  195. script: make testnegroni
  196. env:
  197. - GO_VERSION=1.11
  198. - NEGRONI_VERSION=v0.3.0
  199. - if: branch = master
  200. script: make testnegroni
  201. env:
  202. - GO_VERSION=1.10
  203. - NEGRONI_VERSION=v0.3.0
  204. - if: branch = master
  205. script: make testnegroni
  206. env:
  207. - GO_VERSION=1.9
  208. - NEGRONI_VERSION=v0.3.0
  209. - if: branch = master
  210. script: make testnegroni
  211. env:
  212. - GO_VERSION=1.8
  213. - NEGRONI_VERSION=v0.3.0
  214. - if: branch = master
  215. script: make testnegroni
  216. env:
  217. - GO_VERSION=1.7
  218. - NEGRONI_VERSION=v0.3.0
  219. - if: branch = master
  220. script: make testnegroni
  221. env:
  222. - GO_VERSION=1.11
  223. - NEGRONI_VERSION=v0.2.0
  224. - if: branch = master
  225. script: make testnegroni
  226. env:
  227. - GO_VERSION=1.10
  228. - NEGRONI_VERSION=v0.2.0
  229. - if: branch = master
  230. script: make testnegroni
  231. env:
  232. - GO_VERSION=1.9
  233. - NEGRONI_VERSION=v0.2.0
  234. - if: branch = master
  235. script: make testnegroni
  236. env:
  237. - GO_VERSION=1.8
  238. - NEGRONI_VERSION=v0.2.0
  239. - if: branch = master
  240. script: make testnegroni
  241. env:
  242. - GO_VERSION=1.7
  243. - NEGRONI_VERSION=v0.2.0
  244. - stage: revel tests
  245. script: make testrevel
  246. env:
  247. - GO_VERSION=1.11
  248. - REVEL_VERSION=v0.21.0
  249. - REVEL_CMD_VERSION=v0.21.1
  250. - if: branch = master
  251. script: make testrevel
  252. env:
  253. - GO_VERSION=1.10
  254. - REVEL_VERSION=v0.21.0
  255. - REVEL_CMD_VERSION=v0.21.1
  256. - if: branch = master
  257. script: make testrevel
  258. env:
  259. - GO_VERSION=1.9
  260. - REVEL_VERSION=v0.21.0
  261. - REVEL_CMD_VERSION=v0.21.1
  262. - if: branch = master
  263. script: make testrevel
  264. env:
  265. - GO_VERSION=1.8
  266. - REVEL_VERSION=v0.21.0
  267. - REVEL_CMD_VERSION=v0.21.1
  268. - if: branch = master
  269. script: make testrevel
  270. env:
  271. - GO_VERSION=1.11
  272. - REVEL_VERSION=v0.20.0
  273. - REVEL_CMD_VERSION=v0.20.2
  274. - if: branch = master
  275. script: make testrevel
  276. env:
  277. - GO_VERSION=1.10
  278. - REVEL_VERSION=v0.20.0
  279. - REVEL_CMD_VERSION=v0.20.2
  280. - if: branch = master
  281. script: make testrevel
  282. env:
  283. - GO_VERSION=1.9
  284. - REVEL_VERSION=v0.20.0
  285. - REVEL_CMD_VERSION=v0.20.2
  286. - if: branch = master
  287. script: make testrevel
  288. env:
  289. - GO_VERSION=1.8
  290. - REVEL_VERSION=v0.20.0
  291. - REVEL_CMD_VERSION=v0.20.2
  292. - if: branch = master
  293. script: make testrevel
  294. env:
  295. - GO_VERSION=1.11
  296. - REVEL_VERSION=v0.19.1
  297. - REVEL_CMD_VERSION=v0.19.0
  298. - if: branch = master
  299. script: make testrevel
  300. env:
  301. - GO_VERSION=1.10
  302. - REVEL_VERSION=v0.19.1
  303. - REVEL_CMD_VERSION=v0.19.0
  304. - if: branch = master
  305. script: make testrevel
  306. env:
  307. - GO_VERSION=1.9
  308. - REVEL_VERSION=v0.19.1
  309. - REVEL_CMD_VERSION=v0.19.0
  310. - if: branch = master
  311. script: make testrevel
  312. env:
  313. - GO_VERSION=1.11
  314. - REVEL_VERSION=v0.18.0
  315. - REVEL_CMD_VERSION=v0.18.0
  316. - if: branch = master
  317. script: make testrevel
  318. env:
  319. - GO_VERSION=1.10
  320. - REVEL_VERSION=v0.18.0
  321. - REVEL_CMD_VERSION=v0.18.0
  322. - if: branch = master
  323. script: make testrevel
  324. env:
  325. - GO_VERSION=1.9
  326. - REVEL_VERSION=v0.18.0
  327. - REVEL_CMD_VERSION=v0.18.0