summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDwayne Litzenberger <dlitz@dlitz.net>2016-04-01 20:56:56 -0700
committerDwayne Litzenberger <dlitz@dlitz.net>2016-04-01 20:56:56 -0700
commit995d5e7e827048d77e6380dc672738a18d8ef008 (patch)
tree7b0b28d3c46a9b19d03e9b22dd1175a77375a13f
parent7c0e1086f085eae944bf2d8e530415d195c294dc (diff)
downloadpycrypto-995d5e7e827048d77e6380dc672738a18d8ef008.tar.gz
more travis: cache versions
-rw-r--r--.travis.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 45f84bf..9f5f218 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -11,6 +11,7 @@ cache:
pip: true
directories:
- $HOME/.pyenv/cache
+ - $HOME/.pyenv/versions
env:
- PYENV_VERSION=2.1.3
- PYENV_VERSION=2.2.3
@@ -62,7 +63,7 @@ before_install:
- export PATH=~/.pyenv/bin:$PATH
- eval "$(pyenv init -)"
# If the selected Python version is installed locally (travis-ci native), activate it.
- # Otherwise, install it using pyenv (if not already installed) and set up a separate virtualenv.
+ # Otherwise, install it using pyenv (if not already installed) and set up a separate (uncached) virtualenv.
- |-
if [ -e ~/virtualenv/python"$PYENV_VERSION"/bin/activate ] ; then
. ~/virtualenv/python"$PYENV_VERSION"/bin/activate