2018-02-02 09:17:40 +05:00
|
|
|
language: go
|
2019-02-25 16:29:48 +05:00
|
|
|
go_import_path: github.com/sirupsen/logrus
|
2018-02-02 09:17:40 +05:00
|
|
|
env:
|
|
|
|
- GOMAXPROCS=4 GORACE=halt_on_error=1
|
2019-02-25 16:29:48 +05:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- go: 1.10.x
|
|
|
|
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.11.x
|
|
|
|
env: GO111MODULE=on
|
|
|
|
install:
|
|
|
|
- go mod download
|
|
|
|
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 ./...
|
|
|
|
- go: 1.10.x
|
|
|
|
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 ./...
|
|
|
|
- go: 1.11.x
|
|
|
|
env: GO111MODULE=on
|
|
|
|
install:
|
|
|
|
- go mod download
|
|
|
|
script:
|
|
|
|
- go test -race -v -tags appengine ./...
|
|
|
|
- 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 -tags appengine ./...
|