Cache pip downloads on Travis.

This commit is contained in:
Tobias Gruetzmacher 2016-03-20 20:32:08 +01:00
parent f243096d49
commit 3ffe9f5715
2 changed files with 4 additions and 0 deletions

View file

@ -4,6 +4,9 @@ python:
- "3.3"
- "3.4"
- "3.5"
cache:
directories:
$HOME/.cache/pip
# install libjpeg-dev for Pillow to handle JPEGs
sudo: false
addons:

View file

@ -8,6 +8,7 @@ envlist = py27, py35
[testenv]
commands = py.test --cov=dosage --cov=dosagelib --tb=short -n10
passenv = TRAVIS
# Also install optional dependencies for tests.
deps =
pytest-xdist