dispatch/vendor/github.com/klauspost/cpuid/.travis.yml

47 lines
713 B
YAML
Raw Normal View History

language: go
os:
- linux
2020-06-15 09:05:32 +00:00
- osx
- windows
arch:
- amd64
- arm64
go:
2020-04-29 02:23:32 +00:00
- 1.12.x
- 1.13.x
2020-06-15 09:05:32 +00:00
- 1.14.x
- master
2020-06-15 09:05:32 +00:00
script:
- go vet ./...
- go test -race ./...
- go test -tags=noasm ./...
stages:
- gofmt
- test
matrix:
allow_failures:
- go: 'master'
2020-06-15 09:05:32 +00:00
fast_finish: true
include:
- stage: gofmt
go: 1.14.x
os: linux
arch: amd64
script:
- diff <(gofmt -d .) <(printf "")
- diff <(gofmt -d ./private) <(printf "")
- go install github.com/klauspost/asmfmt/cmd/asmfmt
- diff <(asmfmt -d .) <(printf "")
- stage: i386
go: 1.14.x
os: linux
arch: amd64
script:
- GOOS=linux GOARCH=386 go test .