Test more platforms

It would be 5 * 3 = 15 runs
This commit is contained in:
Andrey Tcherepanov 2019-03-28 13:14:38 -06:00
parent aefd7ecb90
commit 7d700cdff0
1 changed files with 17 additions and 72 deletions

View File

@ -1,76 +1,21 @@
language: go language: go
go_import_path: github.com/sirupsen/logrus go_import_path: github.com/sirupsen/logrus
git:
depth: 1
env: env:
- GOMAXPROCS=4 GORACE=halt_on_error=1 - GO111MODULE=on
- GO111MODULE=off
go: [ 1.10.x, 1.11.x, 1.12.x ]
os: [ linux, osx, windows ]
matrix: matrix:
include: exclude:
- go: 1.10.x - env: GO111MODULE=on
install: go: 1.10.x
- go get github.com/stretchr/testify/assert install:
- go get golang.org/x/sys/unix - if [[ "$GO111MODULE" == "on" ]]; then go mod download; fi
- go get golang.org/x/sys/windows - if [[ "$GO111MODULE" == "off" ]]; then go get github.com/stretchr/testify/assert golang.org/x/sys/unix github.com/konsorten/go-windows-terminal-sequences; fi
script: script:
- go test -race -v ./... - export GOMAXPROCS=4
- go: 1.11.x - export GORACE=halt_on_error=1
env: GO111MODULE=on - go test -race -v ./...
install: - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then go test -race -v -tags appengine ./... ; fi
- 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/sys/unix
- 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/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/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/sys/unix
- 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/sys/unix
- go get golang.org/x/sys/windows
script:
- go test -race -v -tags appengine ./...