Merge pull request #3874 from blueyed/improve-pre-commit
Travis: use TOXENV=linting for linting stage
This commit is contained in:
commit
71b4995775
|
@ -62,12 +62,7 @@ jobs:
|
||||||
repo: pytest-dev/pytest
|
repo: pytest-dev/pytest
|
||||||
- stage: linting
|
- stage: linting
|
||||||
python: '3.6'
|
python: '3.6'
|
||||||
env:
|
env: TOXENV=linting
|
||||||
install:
|
|
||||||
- pip install pre-commit
|
|
||||||
- pre-commit install-hooks
|
|
||||||
script:
|
|
||||||
- pre-commit run --all-files
|
|
||||||
|
|
||||||
script: tox --recreate
|
script: tox --recreate
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue