Cache pip downloads on Travis.
This commit is contained in:
parent
f243096d49
commit
3ffe9f5715
2 changed files with 4 additions and 0 deletions
|
@ -4,6 +4,9 @@ python:
|
||||||
- "3.3"
|
- "3.3"
|
||||||
- "3.4"
|
- "3.4"
|
||||||
- "3.5"
|
- "3.5"
|
||||||
|
cache:
|
||||||
|
directories:
|
||||||
|
$HOME/.cache/pip
|
||||||
# install libjpeg-dev for Pillow to handle JPEGs
|
# install libjpeg-dev for Pillow to handle JPEGs
|
||||||
sudo: false
|
sudo: false
|
||||||
addons:
|
addons:
|
||||||
|
|
1
tox.ini
1
tox.ini
|
@ -8,6 +8,7 @@ envlist = py27, py35
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
commands = py.test --cov=dosage --cov=dosagelib --tb=short -n10
|
commands = py.test --cov=dosage --cov=dosagelib --tb=short -n10
|
||||||
|
passenv = TRAVIS
|
||||||
# Also install optional dependencies for tests.
|
# Also install optional dependencies for tests.
|
||||||
deps =
|
deps =
|
||||||
pytest-xdist
|
pytest-xdist
|
||||||
|
|
Loading…
Reference in a new issue