We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cef2fe9 commit 79beb52Copy full SHA for 79beb52
.travis.yml
@@ -5,6 +5,9 @@ compiler:
5
os:
6
- linux
7
- osx
8
+cache:
9
+ directories:
10
+ - $HOME/.ccache
11
sudo: false
12
addons:
13
apt:
bin/install_travis.sh
@@ -3,7 +3,7 @@
3
# symengine's bin/install_travis.sh will install miniconda
4
conda update -q -n root conda
-export conda_pkgs="python=${PYTHON_VERSION} pip cython nose pytest"
+export conda_pkgs="python=${PYTHON_VERSION} pip cython nose pytest ccache"
if [[ "${WITH_SYMPY}" != "no" ]]; then
export conda_pkgs="${conda_pkgs} sympy";
@@ -21,3 +21,9 @@ fi
21
22
conda install -q ${conda_pkgs}
23
source activate $our_install_dir;
24
+
25
+# Use ccache
26
+export CXX="ccache ${CXX}"
27
+export CC="ccache ${CC}"
28
+export CCACHE_DIR=$HOME/.ccache
29
+ccache -M 400M
0 commit comments