bug 1406388, run flake on travis, r=stas
authorAxel Hecht <axel@pike.org>
Fri, 06 Oct 2017 15:53:47 +0200
changeset 352 79a99eca645c64804f89ad264984481a48aa6709
parent 350 c658f35b58d59f70d7346cc191644228020d805d
child 356 731a1b6272f353eb6b6eb43689600e6df7a45471
push id119
push useraxel@mozilla.com
push dateFri, 06 Oct 2017 15:33:31 +0000
reviewersstas
bugs1406388
bug 1406388, run flake on travis, r=stas MozReview-Commit-ID: njuTyBXfQJ
.travis.yml
tox.ini
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,9 +1,8 @@
 sudo: false
 language: python
 python: 2.7
 env:
   - TOX_ENV=py27
-install:
-  - pip install tox
+install: pip install tox-travis
 script:
-  - tox -e $TOX_ENV
+  - tox
--- a/tox.ini
+++ b/tox.ini
@@ -1,4 +1,12 @@
 [tox]
-envlist = py27
+envlist = py27, flake8
+
+[travis]
+python =
+  2.7: py27, flake8
+
 [testenv]
 commands=python setup.py test
+[testenv:flake8]
+deps=flake8
+commands=flake8 compare_locales