Merge pull request #3516 from RonnyPfannschmidt/travis-optimize

enable pip/pre-commit caching on travis and appveyor
This commit is contained in:
Bruno Oliveira 2018-05-27 12:51:51 -03:00 committed by GitHub
commit b6a302d0a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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.