From d2bcb7be7c3b972d4b52794acc5ca4e730a1effe Mon Sep 17 00:00:00 2001 From: triplus Date: Thu, 28 Nov 2019 20:14:28 +0100 Subject: [PATCH] Travis - create a unique cache entry https://forum.freecadweb.org/viewtopic.php?f=10&t=40324&start=30#p350421 https://docs.travis-ci.com/user/caching#caches-and-build-matrices --- .travis.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.travis.yml b/.travis.yml index 34994a3ed8..5c5b954e24 100755 --- a/.travis.yml +++ b/.travis.yml @@ -60,6 +60,7 @@ matrix: - CXX=clang++-9 - CMAKE_OPTS="-DPYTHON_EXECUTABLE=/usr/bin/python3 -DBUILD_FEM_NETGEN=ON -DBUILD_QT5=ON" - PYTHON_MAJOR_VERSION=3 + - CACHE_NAME=JOB1 # - os: linux # dist: bionic @@ -76,6 +77,7 @@ matrix: # - CXX=g++-9 # - CMAKE_OPTS="-DPYTHON_EXECUTABLE=/usr/bin/python3 -DBUILD_FEM_NETGEN=ON -DBUILD_QT5=ON" # - PYTHON_MAJOR_VERSION=3 + # - CACHE_NAME=JOB2 - os: linux dist: bionic @@ -83,12 +85,14 @@ matrix: env: - CMAKE_OPTS="-DPYTHON_EXECUTABLE=/usr/bin/python3 -DBUILD_FEM_NETGEN=ON -DBUILD_QT5=ON" - PYTHON_MAJOR_VERSION=3 + - CACHE_NAME=JOB3 - os: linux dist: bionic compiler: gcc env: - PYTHON_MAJOR_VERSION=2 + - CACHE_NAME=JOB4 - os: windows language: cpp @@ -104,6 +108,7 @@ matrix: - CCACHE_TEMPDIR=/tmp/.ccache-temp - CCACHE_COMPRESS=1 - CCACHE_DIR=$HOME/.ccache + - CACHE_NAME=JOB5 # enable this if clcache extended log is needed #- CLCACHE_LOG=1 cache: