diff --git a/.travis.yml b/.travis.yml index ed87184..36be2ce 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,7 @@ language: go sudo: required go: - - 1.10.x + - 1.11.x - stable - master @@ -11,6 +11,13 @@ matrix: allow_failures: - go: master +env: + - GO111MODULE=on + +# Override Travis's default 'go get' step, since we use Go modules +install: + - go mod download + before_script: # Don't record coverage for protobuf/gen & replay/nondefault - cover_packages=$(go list ./... | grep -v "protobuf/gen\|replay/nondefault" | awk -vORS=',' '{ print $1 }' | sed 's/,$/\n/')