Commit df8efcf5 authored by k8s-merge-robot's avatar k8s-merge-robot

Merge pull request #17960 from pmorie/travis-verify-codec

Auto commit by PR queue bot
parents cc9b0dc8 c5765fbf
...@@ -83,18 +83,8 @@ for (( i=0; i<number; i++ )); do ...@@ -83,18 +83,8 @@ for (( i=0; i<number; i++ )); do
done done
index=(${result}) index=(${result})
# Build codecgen from Godeps.
# However, we need to install godep first.
# We make some tricks with GOPATH variable to make it work with Travis.
_gopath=${GOPATH}
export GOPATH="${_tmpdir}"
go get -u github.com/tools/godep 2>/dev/null
go install github.com/tools/godep 2>/dev/null
GODEP="${_tmpdir}/bin/godep"
export GOPATH=${_gopath}
CODECGEN="${_tmpdir}/codecgen_binary" CODECGEN="${_tmpdir}/codecgen_binary"
${GODEP} go build -o "${CODECGEN}" github.com/ugorji/go/codec/codecgen godep go build -o "${CODECGEN}" github.com/ugorji/go/codec/codecgen
# Generate files in the dependency order. # Generate files in the dependency order.
for current in ${index[@]}; do for current in ${index[@]}; do
......
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