summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2017-11-26 23:10:31 +0100
committerRémi Verschelde <rverschelde@gmail.com>2017-11-26 23:31:44 +0100
commit4766c4fc6c9bcbe2baec158639aee75b1a6a4813 (patch)
tree2c3de5fdd52bc2e8c39408c267a07c0d2789707a /.travis.yml
parent024c4f14a14e67f15adbcca39c6a941ea89e0f3d (diff)
downloadredot-engine-4766c4fc6c9bcbe2baec158639aee75b1a6a4813.tar.gz
Travis: Use separate SCons caches for each build job
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 6747905292..01821cef2d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -6,11 +6,11 @@ sudo: false
env:
global:
- - SCONS_CACHE=$HOME/.scons_cache
+ - SCONS_CACHE_ROOT=$HOME/.scons_cache
cache:
directories:
- - $SCONS_CACHE
+ - $SCONS_CACHE_ROOT
matrix:
include:
@@ -88,5 +88,6 @@ script:
- if [ "$STATIC_CHECKS" = "yes" ]; then
sh ./misc/travis/clang-format.sh;
else
+ export SCONS_CACHE=$SCONS_CACHE_ROOT/${GODOT_TARGET}-${CXX}-tools_${TOOLS}/;
scons -j2 CC=$CC CXX=$CXX platform=$GODOT_TARGET TOOLS=$TOOLS verbose=yes progress=no;
fi