-
Notifications
You must be signed in to change notification settings - Fork 4
/
tox.ini
42 lines (37 loc) · 1.14 KB
/
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
[tox]
envlist = py35, py36, style
[testenv]
sitepackages = false
basepython =
py35: python3.5
py36: python3.6
setenv =
PYTHONHASHSEED = 100
passenv = RANDOM_VALUE FACEBOOK_CONSUMER_KEY FACEBOOK_CONSUMER_SECRET FACEBOOK_USER FACEBOOK_PASSWORD COVERAGE_PROCESS_START CODECOV_TOKEN DISPLAY SPLINTER_WEBDRIVER TRAVIS
usedevelop = true
; If you want to make tox run the tests with the same versions, create a
; requirements.txt with the pinned versions and uncomment the following lines:
; pytest is limited to version 3 because of the issue https://github.com/pytest-dev/pytest-splinter/issues/112
deps =
--editable=git+https://github.com/websauna/websauna.git#egg=websauna
--editable=git+https://github.com/websauna/pytest-splinter.git#egg=pytest-splinter
--editable=git+https://github.com/websauna/splinter.git#egg=splinter
rfeed
Markdown
selenium>3
pytest>3,<4
pytest-runner
webtest
coverage
pytest-timeout
pytest-cov
codecov
flake8
isort
factory_boy
commands =
py.test --timeout=2400 websauna/blog {posargs}
[testenv:style]
basepython = python3.6
commands =
flake8 websauna/