summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Jon Bernard <jbernard@tuxion.com> 2014-07-24 16:25:53 -0400
committerGravatar Jon Bernard <jbernard@tuxion.com> 2014-07-24 16:25:53 -0400
commite3ac8c34392cd75256ca0fc1dcc30101c85f68df (patch)
tree874e15bf6a79fd4b152d7af10a6b8dd2dd1e1a8e
parent0e0d0985d04a4ccb6f8e8862373eaffe6d1e289d (diff)
downloaddotfiles-e3ac8c34392cd75256ca0fc1dcc30101c85f68df.tar.gz
dotfiles-e3ac8c34392cd75256ca0fc1dcc30101c85f68df.tar.bz2
dotfiles-e3ac8c34392cd75256ca0fc1dcc30101c85f68df.zip
Add flake8 to the tox test environment
-rw-r--r--.travis.yml1
-rw-r--r--setup.cfg3
-rw-r--r--tox.ini7
3 files changed, 11 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index eff8b66..ac1e55c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -7,6 +7,7 @@ env:
- TOXENV=py33
- TOXENV=py34
- TOXENV=pypy
+ - TOXENV=flake8
install:
- pip install tox
diff --git a/setup.cfg b/setup.cfg
index 5e40900..119d39f 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,2 +1,5 @@
[wheel]
universal = 1
+
+[flake8]
+exclude = .tox
diff --git a/tox.ini b/tox.ini
index 246060f..4aa566d 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,3 +1,10 @@
+[tox]
+envlist = py27,flake8
+
[testenv]
deps = pytest
commands = py.test {posargs}
+
+[testenv:flake8]
+deps = flake8
+commands = flake8 {posargs}