mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 10:33:35 +00:00
vendor update for CSI 0.3.0
This commit is contained in:
24
vendor/github.com/golang/protobuf/.travis.yml
generated
vendored
24
vendor/github.com/golang/protobuf/.travis.yml
generated
vendored
@ -2,17 +2,29 @@ sudo: false
|
||||
language: go
|
||||
go:
|
||||
- 1.6.x
|
||||
- 1.7.x
|
||||
- 1.8.x
|
||||
- 1.9.x
|
||||
- 1.10.x
|
||||
- 1.x
|
||||
|
||||
install:
|
||||
- go get -v -d -t github.com/golang/protobuf/...
|
||||
- curl -L https://github.com/google/protobuf/releases/download/v3.3.0/protoc-3.3.0-linux-x86_64.zip -o /tmp/protoc.zip
|
||||
- unzip /tmp/protoc.zip -d $HOME/protoc
|
||||
- curl -L https://github.com/google/protobuf/releases/download/v3.5.1/protoc-3.5.1-linux-x86_64.zip -o /tmp/protoc.zip
|
||||
- unzip /tmp/protoc.zip -d "$HOME"/protoc
|
||||
- mkdir -p "$HOME"/src && ln -s "$HOME"/protoc "$HOME"/src/protobuf
|
||||
|
||||
env:
|
||||
- PATH=$HOME/protoc/bin:$PATH
|
||||
|
||||
script:
|
||||
- make all test
|
||||
- make all
|
||||
- make regenerate
|
||||
# TODO(tamird): When https://github.com/travis-ci/gimme/pull/130 is
|
||||
# released, make this look for "1.x".
|
||||
- if [[ "$TRAVIS_GO_VERSION" == 1.10* ]]; then
|
||||
if [[ "$(git status --porcelain 2>&1)" != "" ]]; then
|
||||
git status >&2;
|
||||
git diff -a >&2;
|
||||
exit 1;
|
||||
fi;
|
||||
echo "git status is clean.";
|
||||
fi;
|
||||
- make test
|
||||
|
Reference in New Issue
Block a user