summaryrefslogtreecommitdiffstats
path: root/travis
diff options
context:
space:
mode:
authorBjørn Christian Seime <bjorncs@oath.com>2017-10-18 14:28:54 +0200
committerBjørn Christian Seime <bjorncs@oath.com>2017-10-18 14:28:54 +0200
commitd7d34517898e037e2fc229e37b285576545685b9 (patch)
tree5b09a0a587f3edbe0e2c760a2a8173cc0f52af1f /travis
parent28d85c00766f18af9c9ccdcb1f9d325584146521 (diff)
Configure ccache through cli interface
It looks like the Travis-CI VM contains some configuration in its .ccache directory that overrides whatever we configures through ccache environment variables.
Diffstat (limited to 'travis')
-rw-r--r--travis/cpp-prelude.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/travis/cpp-prelude.sh b/travis/cpp-prelude.sh
index 2cb7633d3d7..67b6dc3499b 100644
--- a/travis/cpp-prelude.sh
+++ b/travis/cpp-prelude.sh
@@ -2,6 +2,6 @@
# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
set -e
-export CCACHE_MAXSIZE="1250M"
-export CCACHE_COMPRESS=1
+ccache --max-size=1250M
+ccache --set-config=compression=true
ccache --print-config