Merge pull request #927 from ceh-forks/ci-go-1-12

Test with Go 1.12
This commit is contained in:
David Bariod 2019-03-27 09:37:13 +01:00 committed by GitHub
commit 1115b87d62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 30 additions and 0 deletions

View File

@ -27,6 +27,21 @@ matrix:
- go get golang.org/x/sys/windows - go get golang.org/x/sys/windows
script: script:
- go test -race -v ./... - 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 - go: 1.10.x
install: install:
- go get github.com/stretchr/testify/assert - go get github.com/stretchr/testify/assert
@ -50,3 +65,18 @@ matrix:
- go get golang.org/x/sys/windows - go get golang.org/x/sys/windows
script: script:
- go test -race -v -tags appengine ./... - 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 ./...