photoprism-client-go/vendor/github.com/klauspost/cpuid/v2/.travis.yml

64 lines
1.3 KiB
YAML
Raw Normal View History

language: go
os:
- linux
- osx
- windows
arch:
- amd64
- arm64
go:
- 1.13.x
- 1.14.x
- 1.15.x
- master
script:
- go vet ./...
- go test -test.v -test.run ^TestCPUID$
- go test -race ./...
- go test -tags=noasm ./...
matrix:
allow_failures:
- go: 'master'
fast_finish: true
include:
- stage: gofmt
go: 1.15.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.15.x
os: linux
arch: amd64
script:
- GOOS=linux GOARCH=386 go test .
- stage: buildotherprev
go: 1.14.x
os: linux
arch: amd64
script:
- GOOS=darwin GOARCH=arm64 go build .
- GOOS=freebsd GOARCH=arm64 go build .
- GOOS=netbsd GOARCH=arm64 go build .
- GOOS=freebsd GOARCH=amd64 go build .
- GOOS=netbsd GOARCH=amd64 go build .
- stage: buildother
go: 1.15.x
os: linux
arch: amd64
script:
- GOOS=darwin GOARCH=arm64 go build .
- GOOS=freebsd GOARCH=arm64 go build .
- GOOS=netbsd GOARCH=arm64 go build .
- GOOS=freebsd GOARCH=amd64 go build .
- GOOS=netbsd GOARCH=amd64 go build .