From 903cb9f9f1166ad539cdb959d20ec77ebd314a2a Mon Sep 17 00:00:00 2001 From: xtaci Date: Sun, 22 Sep 2019 17:45:40 +0800 Subject: [PATCH] update .travis.yml --- .travis.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index f5819b6..91f750d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,18 +1,18 @@ language: go go: - - 1.10.x - 1.11.x - 1.12.x + - 1.13.x before_install: - go get github.com/mattn/goveralls - go get golang.org/x/tools/cmd/cover install: - - go get github.com/xtaci/kcptun/client - - go get github.com/xtaci/kcptun/server + - env GO111MODULE=on go get github.com/xtaci/kcptun/client + - env GO111MODULE=on go get github.com/xtaci/kcptun/server before_script: script: - cd $HOME/gopath/src/github.com/xtaci/kcptun/client - - $HOME/gopath/bin/goveralls -service=travis-ci + - env GO111MODULE=on $HOME/gopath/bin/goveralls -service=travis-ci - cd $HOME/gopath/src/github.com/xtaci/kcptun/server - - $HOME/gopath/bin/goveralls -service=travis-ci + - env GO111MODULE=on $HOME/gopath/bin/goveralls -service=travis-ci - exit 0