buildscripts: Hard-code PROTOBUF_VERSION in make_dependencies.sh
We always want to use a consistent version of protobuf; avoid the need
for the caller (which may be a person running the script) to specify the
version.
diff --git a/.travis.yml b/.travis.yml
index ada69d9..bde29b4 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -5,7 +5,6 @@
env:
global:
- GRADLE_OPTS=-Xmx512m
- - PROTOBUF_VERSION=3.5.1
- LDFLAGS=-L/tmp/protobuf/lib
- CXXFLAGS=-I/tmp/protobuf/include
- LD_LIBRARY_PATH=/tmp/protobuf/lib
@@ -52,7 +51,7 @@
cache:
directories:
- - /tmp/protobuf-${PROTOBUF_VERSION}
+ - /tmp/protobuf-*
- /tmp/gradle-caches-modules-2
- /tmp/gradle-wrapper