mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 19:31:44 +00:00
export path in shippable and travis
This commit is contained in:
parent
49f483400c
commit
9c4811b9f5
@ -11,6 +11,7 @@ install:
|
||||
- go get golang.org/x/tools/cmd/goimports
|
||||
- ./hack/travis/install-etcd.sh
|
||||
- ./hack/build-go.sh
|
||||
- export PATH=$GOPATH/bin:./third_party/etcd:$PATH
|
||||
|
||||
script:
|
||||
- ./hack/verify-gofmt.sh
|
||||
@ -19,7 +20,7 @@ script:
|
||||
- ./hack/verify-generated-conversions.sh
|
||||
- ./hack/verify-generated-deep-copies.sh
|
||||
- ./hack/verify-generated-docs.sh
|
||||
- PATH=./third_party/etcd:$PATH ./hack/verify-swagger-spec.sh
|
||||
- ./hack/verify-swagger-spec.sh
|
||||
- ./hack/verify-linkcheck.sh
|
||||
|
||||
notifications:
|
||||
|
@ -16,8 +16,10 @@ before_install:
|
||||
- if [[ $SHIPPABLE_GO_VERSION == "tip" ]]; then gvm install tip; gvm use tip; fi
|
||||
- if [[ $SHIPPABLE_GO_VERSION == *release* ]]; then gvm install release; gvm use release; fi
|
||||
- if [[ $SHIPPABLE_GO_VERSION =~ [0-9].[0-9] ]]; then gvm install go$SHIPPABLE_GO_VERSION; gvm use go$SHIPPABLE_GO_VERSION; fi
|
||||
- ./hack/travis/install-etcd.sh
|
||||
- export GOPATH=$SHIPPABLE_GOPATH
|
||||
- mkdir -p /root/workspace/src/k8s.io; mv /root/workspace/src/github.com/GoogleCloudPlatform/kubernetes /root/workspace/src/k8s.io/kubernetes
|
||||
- export PATH=$GOPATH/bin:./third_party/etcd:$PATH
|
||||
|
||||
install:
|
||||
- go get golang.org/x/tools/cmd/cover
|
||||
@ -25,7 +27,7 @@ install:
|
||||
- go get github.com/mattn/goveralls
|
||||
- go get github.com/tools/godep
|
||||
- ./hack/build-go.sh
|
||||
- PATH=$GOPATH/bin:$PATH godep go install ./...
|
||||
- godep go install ./...
|
||||
- ./hack/travis/install-etcd.sh
|
||||
- ./hack/verify-gofmt.sh
|
||||
- ./hack/verify-boilerplate.sh
|
||||
@ -34,7 +36,7 @@ install:
|
||||
- ./hack/verify-generated-conversions.sh
|
||||
- ./hack/verify-generated-deep-copies.sh
|
||||
- ./hack/verify-generated-docs.sh
|
||||
- PATH=./third_party/etcd:$PATH ./hack/verify-swagger-spec.sh
|
||||
- ./hack/verify-swagger-spec.sh
|
||||
- ./hack/verify-linkcheck.sh
|
||||
|
||||
script:
|
||||
|
Loading…
Reference in New Issue
Block a user