Commit 9c4811b9 authored by Mike Danese's avatar Mike Danese

export path in shippable and travis

parent 49f48340
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment