mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-23 14:50:24 +00:00
29 lines
377 B
YAML
29 lines
377 B
YAML
|
language: go
|
||
|
sudo: true
|
||
|
dist: bionic
|
||
|
|
||
|
branches:
|
||
|
only:
|
||
|
- main
|
||
|
|
||
|
os:
|
||
|
- linux
|
||
|
- osx
|
||
|
# Travis doesn't work with windows and Go tip
|
||
|
#- windows
|
||
|
|
||
|
go:
|
||
|
- tip
|
||
|
|
||
|
matrix:
|
||
|
allow_failures:
|
||
|
- go: tip
|
||
|
|
||
|
before_install:
|
||
|
- if [ "$TRAVIS_OS_NAME" = "windows" ]; then choco install make; fi
|
||
|
- (cd /tmp/; go get golang.org/x/lint/golint)
|
||
|
|
||
|
script:
|
||
|
- make go test -v ./...;
|
||
|
|