summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)