Skip to content

Commit e6535e9

Browse files
committed
TST: enable caching on travis
1 parent 90fb362 commit e6535e9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.travis.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
sudo: false
22

3+
cache:
4+
directories:
5+
- $HOME/.ccache
6+
- $HOME/.cache/pip
7+
38
addons:
49
apt:
510
packages:
@@ -55,6 +60,7 @@ before_install:
5560
# Install into our own pristine virtualenv
5661
- virtualenv --python=python venv
5762
- source venv/bin/activate
63+
- export PATH=/usr/lib/ccache:$PATH
5864

5965
install:
6066
# Upgrade pip and setuptools. Mock has issues with the default version of

0 commit comments

Comments
 (0)