mirror of
https://github.com/jazzband/django-configurations.git
synced 2026-03-16 22:20:27 +00:00
49 lines
1.1 KiB
INI
49 lines
1.1 KiB
INI
[tox]
|
|
skipsdist = True
|
|
usedevelop = True
|
|
minversion = 1.8
|
|
whitelist_externals=sphinx-build
|
|
envlist =
|
|
flake8-py27,
|
|
flake8-py35,
|
|
readme-py27,
|
|
py33-dj18
|
|
py{27,34,35,py}-dj{18,19,master}
|
|
|
|
[testenv]
|
|
basepython =
|
|
py27: python2.7
|
|
py33: python3.3
|
|
py34: python3.4
|
|
py35: python3.5
|
|
pypy: pypy
|
|
usedevelop = true
|
|
setenv =
|
|
DJANGO_SETTINGS_MODULE = tests.settings.main
|
|
DJANGO_CONFIGURATION = Test
|
|
deps =
|
|
-rtests/requirements.txt
|
|
dj18: https://github.com/django/django/archive/stable/1.8.x.tar.gz#egg=django
|
|
dj19: https://github.com/django/django/archive/stable/1.9.x.tar.gz#egg=django
|
|
djmaster: https://github.com/django/django/archive/master.tar.gz#egg=django
|
|
|
|
commands =
|
|
python --version
|
|
coverage run {envbindir}/django-cadmin test -v2 {posargs:tests}
|
|
coverage report
|
|
|
|
[testenv:readme-py27]
|
|
commands = python setup.py check -r -s
|
|
deps = readme_renderer
|
|
|
|
[testenv:flake8-py27]
|
|
commands = flake8 configurations
|
|
deps = flake8
|
|
|
|
[testenv:flake8-py35]
|
|
commands = flake8 configurations
|
|
deps = flake8
|
|
|
|
[flake8]
|
|
exclude=.tox
|
|
ignore=E501,E127,E128,E124
|