Skip to content

Commit

Permalink
Lint only needs to run once
Browse files Browse the repository at this point in the history
  • Loading branch information
retr0h committed Mar 7, 2019
1 parent 961f808 commit eec90f7
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
[tox]
minversion = 1.8
envlist =
py{27,34,34,36}-unit
py{27,34,35,36}-lint
py{27,34,35,36}-unit
lint
format-check
doc
skipsdist = true

[travis]
python =
2.7: py27-unit, py27-lint, format-check, bats
3.4: py34-unit, py34-lint, format-check, bats
3.5: py35-unit, py35-lint, format-check, bats
3.6: py36-unit, py36-lint, format-check, bats
2.7: py27-unit, lint, format-check, bats
3.4: py34-unit, lint, format-check, bats
3.5: py35-unit, lint, format-check, bats
3.6: py36-unit, lint, format-check, bats

[testenv]
passenv = *
Expand All @@ -22,7 +22,10 @@ deps =
-rrequirements-test.txt
commands =
unit: py.test -vv
lint: flake8

[testenv:lint]
commands =
flake8

[testenv:format]
commands =
Expand Down

0 comments on commit eec90f7

Please sign in to comment.