Merge pull request #3516 from RonnyPfannschmidt/travis-optimize
enable pip/pre-commit caching on travis and appveyor
This commit is contained in:
commit
b6a302d0a8
|
@ -77,3 +77,7 @@ notifications:
|
|||
skip_join: true
|
||||
email:
|
||||
- pytest-commit@python.org
|
||||
cache:
|
||||
directories:
|
||||
- $HOME/.cache/pip
|
||||
- $HOME/.cache/pre-commit
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Enable caching for pip/pre-commit in order to reduce build time on travis/appveyor.
|
Loading…
Reference in New Issue