Add pre-commit to Travis CI

stix2.1
clenk 2017-04-05 17:27:04 -04:00
parent 08dcfee64c
commit ccc172bfd3
1 changed files with 3 additions and 1 deletions

View File

@ -10,4 +10,6 @@ python:
install:
- pip install -U pip setuptools
- pip install tox-travis
script: tox
script:
- tox
- git diff-tree --no-commit-id --name-only -r $REVISION | xargs pre-commit run --files