aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Finucane <stephen@that.guru>2018-01-26 21:47:51 +0000
committerDaniel Axtens <dja@axtens.net>2018-02-03 16:32:32 +1100
commit6ce361f009299e3e73c6fc73278bb76ab7fe9b03 (patch)
tree5eb057baa0a309d22f89ac868a880c155b9a9542
parent846f825f2bc3f854ff359db46b8d78ee1dbfc2f8 (diff)
downloadpatchwork-6ce361f009299e3e73c6fc73278bb76ab7fe9b03.tar
patchwork-6ce361f009299e3e73c6fc73278bb76ab7fe9b03.tar.gz
travis: Run pep8 for py27 only
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>
-rw-r--r--.travis.yml1
-rw-r--r--tox.ini4
2 files changed, 4 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 7589fc7..7e871da 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 b70b605..09505f7 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