[PATCH] travis: Run pep8 for py27 only

Stephen Finucane stephen at that.guru
Sat Jan 27 08:47:51 AEDT 2018


Keep run times to a minimum.

Signed-off-by: Stephen Finucane <stephen at that.guru>
---
 .travis.yml | 1 -
 tox.ini     | 4 ++++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index 7589fc7f..7e871da8 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -33,7 +33,6 @@ install:
 
 script:
   - tox
-  - tox -e pep8
   - tox -e coverage
 
 after_success:
diff --git a/tox.ini b/tox.ini
index b70b6057..09505f78 100644
--- a/tox.ini
+++ b/tox.ini
@@ -71,3 +71,7 @@ commands =
     coverage run --omit=*tox*,patchwork/tests/*.py,manage.py,patchwork/migrations/*.py \
          --branch {toxinidir}/manage.py test --noinput patchwork
     coverage report -m
+
+[travis]
+python =
+    2.7: py27, pep8
-- 
2.14.3



More information about the Patchwork mailing list