Take advantage of the travis-ci cache feature

This commit is contained in:
Anthony Sottile 2015-10-05 08:49:07 -07:00
parent 7911f4b488
commit c7eefd48e4
2 changed files with 9 additions and 6 deletions

View file

@ -5,7 +5,7 @@ env: # These should match the tox env list
- TOXENV=py33 - TOXENV=py33
- TOXENV=py34 - TOXENV=py34
- TOXENV=pypy - TOXENV=pypy
install: pip install coveralls tox --use-mirrors install: pip install coveralls tox
script: tox script: tox
# Special snowflake. Our tests depend on making real commits. # Special snowflake. Our tests depend on making real commits.
before_install: before_install:
@ -16,3 +16,7 @@ before_install:
after_success: after_success:
- coveralls - coveralls
sudo: false sudo: false
cache:
directories:
- $HOME/.cache/pip
- $HOME/.pre-commit

View file

@ -4,7 +4,6 @@ project = pre_commit
envlist = py26,py27,py33,py34,pypy envlist = py26,py27,py33,py34,pypy
[testenv] [testenv]
install_command = pip install --use-wheel {opts} {packages}
deps = -rrequirements-dev.txt deps = -rrequirements-dev.txt
passenv = HOME HOMEPATH LANG TERM passenv = HOME HOMEPATH LANG TERM
commands = commands =