浏览代码

chore: add env for go1.11/go1.12

田欧 6 年之前
父节点
当前提交
996076df5b
共有 1 个文件被更改,包括 8 次插入0 次删除
  1. 8 0
      .travis.yml

+ 8 - 0
.travis.yml

@@ -13,6 +13,14 @@ go:
 git:
   depth: 10
 
+matrix:
+  fast_finish: true
+  include:
+  - go: 1.11.x
+    env: GO111MODULE=on
+  - go: 1.12.x
+    env: GO111MODULE=on
+
 script:
   - go test -v -covermode=count -coverprofile=coverage.out