From b8a1976e622c1b8052c79219930d64a340ac5fcd Mon Sep 17 00:00:00 2001 From: fsouza Date: Mon, 11 Feb 2019 17:47:23 -0500 Subject: [PATCH] travis: refresh the pipeline (#77) - incorporate go modules - use 1.x to make sure we always use latest version of go - enable the race detector in tests --- .travis.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index d2b67f6..94dfae3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,10 @@ language: go - go: - - 1.7 - - 1.8 + - 1.x - tip +env: + - GO111MODULE=on +install: + - go mod download +script: + - go test -race -v