summaryrefslogtreecommitdiffstats
path: root/travis/travis-build-cpp.sh
diff options
context:
space:
mode:
Diffstat (limited to 'travis/travis-build-cpp.sh')
-rwxr-xr-xtravis/travis-build-cpp.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/travis/travis-build-cpp.sh b/travis/travis-build-cpp.sh
index 50560e7e8d5..de703ccbc54 100755
--- a/travis/travis-build-cpp.sh
+++ b/travis/travis-build-cpp.sh
@@ -7,7 +7,8 @@ BUILD_DIR=~/build
mkdir "${BUILD_DIR}"
-ccache -M 5G
+export CCACHE_SIZE="5G"
+export CCACHE_COMPRESS="1"
NUM_THREADS=4
source /opt/rh/devtoolset-6/enable || true
cd "${SOURCE_DIR}"
@@ -24,4 +25,3 @@ cmake3 \
"${SOURCE_DIR}"
make -j ${NUM_THREADS}
ctest3 --output-on-failure -j ${NUM_THREADS}
-