Permalink
Fetching contributors…
Cannot retrieve contributors at this time
51 lines (38 sloc) 803 Bytes
[tox]
# Ensure you add to .travis.yml if you add here, using `tox -l`
envlist = {py34,py35,py36}-django{111,20},lint
[travis]
python =
3.4: py34
3.5: py35
3.6: py36
[travis:env]
DJANGO =
1.11: django111
2.0: django20
LINT =
yes: lint
[testenv]
whitelist_externals=
sh
passenv =
INCLUDE_SELENIUM_TESTS
SELENIUM_SHOW_BROWSER
commands =
sh -c 'testproject/manage.py makemigrations --check'
pytest --basetemp={envtmpdir} --ds=tests.settings --cov={envsitepackagesdir}/wiki --cov-config .coveragerc {posargs}
usedevelop = false
deps =
.[test]
django111: Django>=1.11,<2.0
django20: Django>=2.0,<2.1
basepython =
py34: python3.4
py35: python3.5
py36: python3.6
[testenv:lint]
basepython = python3.4
deps = .[testlint]
commands =
flake8 src/wiki
flake8 tests/