From 415fcb912bb7c877a31150c53e42275644e70f46 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Sat, 25 Aug 2018 22:56:17 +0200 Subject: [PATCH] Travis: use TOXENV=linting for linting stage This will run it with `--show-diff-on-failure` then, and helps to keep it in line / in a central place. --- .travis.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index bb80ddd74..373b79289 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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