mirror of
https://github.com/cisagov/log4j-affected-db.git
synced 2024-11-25 18:00:48 +00:00
a9ff3a336c
This should speed up TravisCI builds.
18 lines
362 B
YAML
18 lines
362 B
YAML
---
|
|
dist: xenial
|
|
language: python
|
|
python: 3.7
|
|
# pre-commit hooks can use Docker, so we should go ahead and enable it
|
|
services: docker
|
|
|
|
# Cache pip packages and pre-commit plugins to speed up builds
|
|
cache:
|
|
pip: true
|
|
directories:
|
|
- $HOME/.cache/pre-commit
|
|
|
|
install:
|
|
- pip install --upgrade -r requirements-test.txt
|
|
script:
|
|
- pre-commit run --all-files
|