summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam S Levy <[email protected]>2018-08-29 09:34:52 -0800
committerAdam S Levy <[email protected]>2018-08-29 09:34:52 -0800
commitf8e8106b9d8842bb4f7f42ebba46e273312d67d3 (patch)
tree33d59c9e765dca7f3048924fdcfcbc9b6d911bca
parent7516f04703c57869792fcd33ef1369de6e18122d (diff)
ci(go1.11): Add module support for go 1.11 CI testing
-rw-r--r--.travis.yml8
1 files changed, 5 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index c2798f8..284ab63 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,17 +1,19 @@
language: go
sudo: false
go:
+ - 1.11
+ - 1.10.x
- 1.9
- 1.8
before_install:
- - go get -u -t ./...
- - go get -u gopkg.in/alecthomas/gometalinter.v1
+ - GO111MODULE=on go get -u -t ./...
+ - GO111MODULE=on go get -u gopkg.in/alecthomas/gometalinter.v1
- gometalinter.v1 --install
script:
- gometalinter.v1 --config metalinter.json ./...
- - ./test.sh
+ - GO111MODULE=on ./test.sh
after_success:
- bash <(curl -s https://codecov.io/bash)