From ccc172bfd347f3ede352ec8eb1479eda165bf535 Mon Sep 17 00:00:00 2001 From: clenk Date: Wed, 5 Apr 2017 17:27:04 -0400 Subject: [PATCH] Add pre-commit to Travis CI --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 52cda7e..316977b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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