diff --git a/.travis.yml b/.travis.yml index 042e0445b..b5170084b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,14 +6,16 @@ go: env: - "PATH=/home/travis/gopath/bin:$PATH" +install: true + script: - - go build -v - - go test -v -cover github.com/schollz/croc/src/compress - - go test -v -cover github.com/schollz/croc/src/croc - - go test -v -cover github.com/schollz/croc/src/crypt - - go test -v -cover github.com/schollz/croc/src/models - - go test -v -cover github.com/schollz/croc/src/relay - - go test -v -cover github.com/schollz/croc/src/tcp - - go test -v -cover github.com/schollz/croc/src/utils - - go test -v -cover github.com/schollz/croc/src/zipper + - env GO111MODULE=on go build -v + - env GO111MODULE=on go test -v -cover github.com/schollz/croc/src/compress + - env GO111MODULE=on go test -v -cover github.com/schollz/croc/src/croc + - env GO111MODULE=on go test -v -cover github.com/schollz/croc/src/crypt + - env GO111MODULE=on go test -v -cover github.com/schollz/croc/src/models + - env GO111MODULE=on go test -v -cover github.com/schollz/croc/src/relay + - env GO111MODULE=on go test -v -cover github.com/schollz/croc/src/tcp + - env GO111MODULE=on go test -v -cover github.com/schollz/croc/src/utils + - env GO111MODULE=on go test -v -cover github.com/schollz/croc/src/zipper