From 44e7b316162640ad13d18f58715d702b2fa49e1a Mon Sep 17 00:00:00 2001 From: Will Norris Date: Fri, 22 Mar 2019 07:40:42 +0000 Subject: [PATCH] travis: build as module with latest go versions --- .travis.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index c602365..1ea5177 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,16 +1,16 @@ language: go -sudo: false -matrix: - include: - - go: "1.10.x" - script: go test -v ./... - - go: "1.11.x" - script: go test -v -mod=vendor ./... +go: + - "1.x" + - "1.11.x" go_import_path: willnorris.com/go/imageproxy -env: - - GO111MODULE=on +cache: + directories: + - $HOME/.cache/go-build + - $HOME/gopath/pkg/mod -install: true +env: + global: + - GO111MODULE=on