mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-22 04:50:23 +00:00
24 lines
503 B
YAML
24 lines
503 B
YAML
|
language: go
|
||
|
|
||
|
go:
|
||
|
- 1.6.x
|
||
|
- 1.7.x
|
||
|
- 1.8.x
|
||
|
- 1.9.x
|
||
|
|
||
|
matrix:
|
||
|
include:
|
||
|
- go: 1.9.x
|
||
|
env: RUN386=1
|
||
|
|
||
|
go_import_path: google.golang.org/grpc
|
||
|
|
||
|
before_install:
|
||
|
- if [[ "$TRAVIS_GO_VERSION" = 1.9* && "$GOARCH" != "386" ]]; then ./vet.sh -install || exit 1; fi
|
||
|
|
||
|
script:
|
||
|
- if [[ -n "$RUN386" ]]; then export GOARCH=386; fi
|
||
|
- if [[ "$TRAVIS_GO_VERSION" = 1.9* && "$GOARCH" != "386" ]]; then ./vet.sh || exit 1; fi
|
||
|
- make test || exit 1
|
||
|
- if [[ "$GOARCH" != "386" ]]; then make testrace; fi
|