From 7a20dd2cd996984b41d4e3e572a24e6bad50493f Mon Sep 17 00:00:00 2001 From: Will Norris Date: Sat, 15 Sep 2018 16:14:06 +0000 Subject: [PATCH] update travis config for go modules --- .travis.yml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 75e51d0..c602365 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,12 +1,16 @@ language: go - -go: - - 1.x - - 1.8.x - sudo: false +matrix: + include: + - go: "1.10.x" + script: go test -v ./... + - go: "1.11.x" + script: go test -v -mod=vendor ./... + go_import_path: willnorris.com/go/imageproxy -install: - - # skip go get, which ensures all dependencies are vendored +env: + - GO111MODULE=on + +install: true