]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
travis: Run pep8 for py27 only
authorStephen Finucane <stephen@that.guru>
Fri, 26 Jan 2018 21:47:51 +0000 (21:47 +0000)
committerDaniel Axtens <dja@axtens.net>
Sat, 3 Feb 2018 05:32:32 +0000 (16:32 +1100)
Keep run times to a minimum.

Signed-off-by: Stephen Finucane <stephen@that.guru>
Acked-by: Daniel Axtens <dja@axtens.net>
Signed-off-by: Daniel Axtens <dja@axtens.net>
.travis.yml
tox.ini

index 7589fc7f288a7b652a8ba0e7f7a32a924ff2181d..7e871da80459bf2da12d9ebf7395d9d48fd2492e 100644 (file)
@@ -33,7 +33,6 @@ install:
 
 script:
   - tox
-  - tox -e pep8
   - tox -e coverage
 
 after_success:
diff --git a/tox.ini b/tox.ini
index b70b60573eb794a4f6fd770d98683749ef6d4bb3..09505f78e157204b66d9483a754e5e6151806fb1 100644 (file)
--- 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