Skip to content

Commit 5bb39e2

Browse files
committed
try adding ccache like scipy does
1 parent b19f74c commit 5bb39e2

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.travis.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,19 @@ matrix:
3535
- libgmp-dev
3636
- libmpfr-dev
3737

38+
addons:
39+
apt:
40+
packages:
41+
- ccache
3842

39-
# - ccache
40-
#cache:
41-
# directories:
42-
# - $HOME/.ccache
43+
cache:
44+
directories:
45+
- $HOME/.ccache
4346

4447
# setup miniconda for numpy, scipy, pandas
4548
before_install:
4649
- echo "before install"
50+
- export PATH=/usr/lib/ccache:$PATH
4751
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
4852
wget http://repo.continuum.io/miniconda/Miniconda-3.16.0-Linux-x86_64.sh -O miniconda.sh;
4953
else

0 commit comments

Comments
 (0)