From c0765944301f7eb1a3476c419ed415154625b370 Mon Sep 17 00:00:00 2001 From: Emil Hessman Date: Sun, 24 Mar 2019 16:01:10 +0100 Subject: [PATCH] Add Go 1.12 to Travis CI build matrix --- .travis.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/.travis.yml b/.travis.yml index a8f1545..ff85ac7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,6 +27,21 @@ matrix: - go get golang.org/x/sys/windows script: - go test -race -v ./... + - go: 1.12.x + env: GO111MODULE=on + install: + - go mod download + script: + - go test -race -v ./... + - go: 1.12.x + env: GO111MODULE=off + install: + - go get github.com/stretchr/testify/assert + - go get golang.org/x/crypto/ssh/terminal + - go get golang.org/x/sys/unix + - go get golang.org/x/sys/windows + script: + - go test -race -v ./... - go: 1.10.x install: - go get github.com/stretchr/testify/assert @@ -50,3 +65,18 @@ matrix: - go get golang.org/x/sys/windows script: - go test -race -v -tags appengine ./... + - go: 1.12.x + env: GO111MODULE=on + install: + - go mod download + script: + - go test -race -v -tags appengine ./... + - go: 1.12.x + env: GO111MODULE=off + install: + - go get github.com/stretchr/testify/assert + - go get golang.org/x/crypto/ssh/terminal + - go get golang.org/x/sys/unix + - go get golang.org/x/sys/windows + script: + - go test -race -v -tags appengine ./...