enable pip/pre-commit caching on travis and appveyor

This commit is contained in:
Ronny Pfannschmidt 2018-05-27 13:01:17 +02:00
parent 075faa5e2b
commit 130f76f66e
3 changed files with 9 additions and 0 deletions

View File

@ -77,3 +77,7 @@ notifications:
skip_join: true
email:
- pytest-commit@python.org
cache:
directories:
- $HOME/.cache/pip
- $HOME/.cache/pre-commit

View File

@ -42,3 +42,7 @@ build: false # Not a C# project, build stuff at the test step instead.
test_script:
- call scripts\call-tox.bat
cache:
- '%LOCALAPPDATA%\pip\cache'
- '%USERPROFILE%\.cache\pre-commit'

View File

@ -0,0 +1 @@
Enable caching for pip/pre-commit in order to reduce build time on travis/appveyor.