mirror of
https://github.com/cisagov/log4j-affected-db.git
synced 2024-11-22 16:40:48 +00:00
Enable TravisCI caching for pip and pre-commit plugins
This should speed up TravisCI builds.
This commit is contained in:
parent
76999e2466
commit
a9ff3a336c
1 changed files with 7 additions and 0 deletions
|
@ -2,8 +2,15 @@
|
||||||
dist: xenial
|
dist: xenial
|
||||||
language: python
|
language: python
|
||||||
python: 3.7
|
python: 3.7
|
||||||
|
# pre-commit hooks can use Docker, so we should go ahead and enable it
|
||||||
services: docker
|
services: docker
|
||||||
|
|
||||||
|
# Cache pip packages and pre-commit plugins to speed up builds
|
||||||
|
cache:
|
||||||
|
pip: true
|
||||||
|
directories:
|
||||||
|
- $HOME/.cache/pre-commit
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- pip install --upgrade -r requirements-test.txt
|
- pip install --upgrade -r requirements-test.txt
|
||||||
script:
|
script:
|
||||||
|
|
Loading…
Reference in a new issue