mirror of
https://github.com/davegallant/rfd.git
synced 2025-08-06 08:43:41 +00:00
add pre-commit and enforce on travis (#37)
* add pre-commit and enforce on travis
This commit is contained in:
@@ -11,11 +11,10 @@ matrix:
|
||||
dist: xenial
|
||||
sudo: true
|
||||
before_install:
|
||||
- "pip install -U pip"
|
||||
- "python setup.py install"
|
||||
- pip install -U pip
|
||||
install:
|
||||
- pip install tox-travis
|
||||
- pip install pytest
|
||||
- pip install pylint
|
||||
- python setup.py install
|
||||
- pip install -r requirements_dev.txt
|
||||
- git diff --name-only $TRAVIS_COMMIT_RANGE | xargs pre-commit run --files
|
||||
script:
|
||||
- tox
|
||||
|
Reference in New Issue
Block a user