From 3151f182d039080da9e887f3badfbf3059341beb Mon Sep 17 00:00:00 2001 From: openset Date: Thu, 20 Jun 2019 17:58:26 +0800 Subject: [PATCH] Add: env --- .travis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index be3c97088..bfd0a18a8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,8 +3,11 @@ language: go go: - "1.12.x" +env: + - GO111MODULE=on + before_install: - - go get -t -v ./... + - go get -v ./... script: - go test -race -coverprofile=coverage.txt -covermode=atomic ./...