mirror of https://github.com/grpc/grpc-java.git
travis.yml: Fix protobuf compilation caching
Wildcard apparently doesn't work... silently. Move versions into their own directory so we can use a hard-coded string in the travis configuration.
This commit is contained in:
parent
f8d30afb20
commit
71e9841c80
|
|
@ -55,7 +55,7 @@ notifications:
|
|||
|
||||
cache:
|
||||
directories:
|
||||
- /tmp/protobuf-*
|
||||
- /tmp/protobuf-cache
|
||||
- /tmp/gradle-caches-modules-2
|
||||
- /tmp/gradle-wrapper
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ PROTOBUF_VERSION=3.5.1
|
|||
# ARCH is 64 bit unless otherwise specified.
|
||||
ARCH="${ARCH:-64}"
|
||||
DOWNLOAD_DIR=/tmp/source
|
||||
INSTALL_DIR="/tmp/protobuf-$PROTOBUF_VERSION/$(uname -s)-$(uname -p)-x86_$ARCH"
|
||||
INSTALL_DIR="/tmp/protobuf-cache/$PROTOBUF_VERSION/$(uname -s)-$(uname -p)-x86_$ARCH"
|
||||
mkdir -p $DOWNLOAD_DIR
|
||||
|
||||
# Start with a sane default
|
||||
|
|
|
|||
Loading…
Reference in New Issue