# HG changeset patch # User Mikael Berthe # Date 1538217601 -7200 # Node ID 7c3e7b53cbd32b54ad4d89ec159fd37052f4b910 # Parent 605a00e9d1ab4d3e5f2d56654a1dca96827e5339 Enable GO111MODULE in Travis config diff -r 605a00e9d1ab -r 7c3e7b53cbd3 .travis.yml --- a/.travis.yml Sat Sep 29 12:24:43 2018 +0200 +++ b/.travis.yml Sat Sep 29 12:40:01 2018 +0200 @@ -1,6 +1,5 @@ language: go go: -- "1.9" - "1.10" - "1.11" - master @@ -11,13 +10,6 @@ branches: only: - master -install: -- go get golang.org/x/net/html -- go get github.com/spf13/cobra -- go get github.com/spf13/viper -- go get github.com/McKael/madon -- go get github.com/ghodss/yaml -- go get github.com/pkg/errors -- go get github.com/kr/text -- go get github.com/mattn/go-isatty -- go get github.com/stretchr/testify/assert +env: + - GO111MODULE=on +install: true diff -r 605a00e9d1ab -r 7c3e7b53cbd3 README.md --- a/README.md Sat Sep 29 12:24:43 2018 +0200 +++ b/README.md Sat Sep 29 12:40:01 2018 +0200 @@ -25,7 +25,7 @@ madonctl now uses Go modules introduced with Go v1.11. You should still be able to build it "the old way" with an up-to-date release -of Go 1.9/1.10/1.11+ with: +of 1.10+ with: go get -u github.com/McKael/madonctl @@ -34,13 +34,13 @@ Alternatively, with Go >= 1.11: - git clone git clone https://github.com/McKael/madonctl + git clone https://github.com/McKael/madonctl cd madonctl go build # (or go install) and you should be able to use `madonctl`. -Travis automated testing is run for Go versions 1.9 - 1.11. +Travis automated testing is run for Go versions 1.10 - 1.11. ## Usage