diff --git a/.travis.yml b/.travis.yml index 001842f..dd1218c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,11 +6,23 @@ matrix: - go: 1.10.x install: - go get github.com/stretchr/testify/assert - - go get gopkg.in/gemnasium/logrus-airbrake-hook.v2 + - 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.11.x + env: GO111MODULE=on install: - go mod download -script: - - go test -race -v ./... + script: + - go test -race -v ./... + - go: 1.11.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 ./...