mirror of
https://github.com/vale981/sphinx-multiversion
synced 2025-03-04 17:11:39 -05:00
.travis.yml: Use pre-commit for linting
This commit is contained in:
parent
5d709d35b3
commit
3bc4886fc0
1 changed files with 2 additions and 2 deletions
|
@ -7,12 +7,12 @@ cache:
|
|||
pip: true
|
||||
|
||||
install:
|
||||
- python -m pip install flake8 setuptools wheel
|
||||
- python -m pip install pre-commit setuptools wheel
|
||||
- python -m pip install -r requirements.txt
|
||||
- python setup.py install
|
||||
|
||||
before_script:
|
||||
- flake8 --statistics .
|
||||
- pre-commit run --all-files
|
||||
script:
|
||||
- mkdir html
|
||||
- sphinx-multiversion docs html
|
||||
|
|
Loading…
Add table
Reference in a new issue