115 lines
No EOL
1.8 KiB
INI
115 lines
No EOL
1.8 KiB
INI
[tox]
|
|
envlist = py{27,34,35,36}-dj111,py{34,35,36,37}-dj20,py{35,36,37}-dj21
|
|
|
|
[testenv]
|
|
usedevelop = True
|
|
setenv =
|
|
PYTHONPATH=.
|
|
commands =
|
|
python {envbindir}/flake8 --ignore=E501
|
|
python {envbindir}/coverage run -p example/run_tests.py
|
|
python {envbindir}/coverage run -p example/run_tests.py example.settings_no_debug
|
|
install_command =
|
|
pip install {opts} {packages}
|
|
|
|
[testenv:py27-dj111]
|
|
basepython = python2.7
|
|
deps =
|
|
django==1.11.15
|
|
pillow==1.7.8
|
|
PyYAML==3.13
|
|
coveralls==0.3
|
|
flake8
|
|
|
|
|
|
[testenv:py34-dj111]
|
|
basepython = python3.4
|
|
deps =
|
|
django==1.11.15
|
|
pillow==2.1.0
|
|
PyYAML==3.13
|
|
coveralls==0.3
|
|
flake8
|
|
|
|
[testenv:py34-dj20]
|
|
basepython = python3.4
|
|
deps =
|
|
django==2.0.8
|
|
pillow==2.1.0
|
|
PyYAML==3.13
|
|
coveralls==0.3
|
|
flake8
|
|
|
|
|
|
[testenv:py35-dj111]
|
|
basepython = python3.5
|
|
deps =
|
|
django==1.11.15
|
|
pillow==2.1.0
|
|
PyYAML==3.13
|
|
coveralls==0.3
|
|
flake8
|
|
|
|
[testenv:py35-dj20]
|
|
basepython = python3.5
|
|
deps =
|
|
django==2.0.8
|
|
pillow==2.1.0
|
|
PyYAML==3.13
|
|
coveralls==0.3
|
|
flake8
|
|
|
|
[testenv:py35-dj21]
|
|
basepython = python3.5
|
|
deps =
|
|
django==2.1.1
|
|
pillow==2.1.0
|
|
PyYAML==3.13
|
|
coveralls==0.3
|
|
flake8
|
|
|
|
[testenv:py36-dj111]
|
|
basepython = python3.6
|
|
deps =
|
|
django==1.11.15
|
|
pillow==2.1.0
|
|
PyYAML==3.13
|
|
coveralls==0.3
|
|
flake8
|
|
|
|
[testenv:py36-dj20]
|
|
basepython = python3.6
|
|
deps =
|
|
django==2.0.8
|
|
pillow==2.1.0
|
|
PyYAML==3.13
|
|
coveralls==0.3
|
|
flake8
|
|
|
|
[testenv:py36-dj21]
|
|
basepython = python3.6
|
|
deps =
|
|
django==2.1.1
|
|
pillow==2.1.0
|
|
PyYAML==3.13
|
|
coveralls==0.3
|
|
flake8
|
|
|
|
|
|
[testenv:py37-dj20]
|
|
basepython = python3.7
|
|
deps =
|
|
django==2.0.8
|
|
pillow==2.1.0
|
|
PyYAML==3.13
|
|
coveralls==0.3
|
|
flake8
|
|
|
|
[testenv:py37-dj21]
|
|
basepython = python3.7
|
|
deps =
|
|
django==2.1.1
|
|
pillow==2.1.0
|
|
PyYAML==3.13
|
|
coveralls==0.3
|
|
flake8 |