mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 14:07:14 +00:00
Merge pull request #17960 from pmorie/travis-verify-codec
Auto commit by PR queue bot
This commit is contained in:
commit
df8efcf582
@ -83,18 +83,8 @@ for (( i=0; i<number; i++ )); do
|
||||
done
|
||||
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"
|
||||
${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.
|
||||
for current in ${index[@]}; do
|
||||
|
Loading…
Reference in New Issue
Block a user