| 1 |
language: go |
| 2 |
arch: |
| 3 |
- amd64 |
| 4 |
- ppc64le |
| 5 |
go: |
| 6 |
- 1.9.x |
| 7 |
- 1.10.x |
| 8 |
- 1.11.x |
| 9 |
- 1.12.x |
| 10 |
- 1.13.x |
| 11 |
# allowing test cases to fail for the versions were not suppotred by ppc64le |
| 12 |
matrix: |
| 13 |
allow_failures: |
| 14 |
- go: 1.9.x |
| 15 |
- go: 1.10.x |
| 16 |
- go: 1.13.x |
| 17 |
|
| 18 |
|
| 19 |
script: |
| 20 |
- go test -v -race ./... |
| 21 |
- GOOS=linux GOARCH=amd64 go build . |
| 22 |
- GOOS=linux GOARCH=arm go build . |
| 23 |
- GOOS=linux GOARCH=arm64 go build . |
| 24 |
- GOOS=linux GOARCH=ppc64le go build . |
| 25 |
- GOOS=linux GOARCH=mips64le go build . |
| 26 |
- (go version | grep go1.6 > /dev/null) || GOOS=linux GOARCH=s390x go build . |
| 27 |
# can be compiled but not functional: |
| 28 |
- GOOS=linux GOARCH=386 go build . |
| 29 |
- GOOS=windows GOARCH=amd64 go build . |