Merge pull request #3874 from blueyed/improve-pre-commit

Travis: use TOXENV=linting for linting stage
This commit is contained in:
Bruno Oliveira 2018-08-25 20:14:27 -03:00 committed by GitHub
commit 71b4995775
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 6 deletions

View File

@ -62,12 +62,7 @@ jobs:
repo: pytest-dev/pytest
- stage: linting
python: '3.6'
env:
install:
- pip install pre-commit
- pre-commit install-hooks
script:
- pre-commit run --all-files
env: TOXENV=linting
script: tox --recreate