-
Notifications
You must be signed in to change notification settings - Fork 7
/
tox.ini
24 lines (20 loc) · 916 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
; Note: there seems to be a problem creating virtualenv for Python 3.5 if
; there is currently enum34 installed. So you might want to uninstall it
; before running tox for the first time.
[tox]
; Python 2.6 is a pain to support (at least because of missing unittest
; assert_*s that Ensure depends on).
; py32 may work if testserver is run under another Python version
; (Werkzeug and Flask do not support Python 3.2).
envlist = flake8, py27, py33, py34, py35
; Move huge directories out of "find_packages" and "pip install -e" way.
; It allows tox to run faster.
toxworkdir = {homedir}/.toxenvs/behave-http
[testenv]
; "make test" runs setup.py, installs Flask for testserver,
; which we do not need in tox virtual environments. Just run behave directly.
; commands = make test
commands = behave -q --format progress3
[testenv:flake8]
deps = flake8
commands = flake8 behave_http features testserver.py setup.py