-
Notifications
You must be signed in to change notification settings - Fork 3
/
tox.ini
45 lines (44 loc) · 1.75 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
43
44
45
[tox]
toxworkdir={env:TOX_WORK_DIR:.tox}
args_are_paths = false
envlist =
{py27}-django-{111}
{py34}-django-{111,20}
{py35,py36,py37}-django-{111,20,21,22,master}
[testenv]
passenv = REQUESTS_CA_BUNDLE TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
basepython =
py27: python2.7
py34: python3.4
py35: python3.5
py36: python3.6
py37: python3.7
usedevelop = true
pip_pre = true
deps =
coveralls
django-111: Django>=1.11,<1.12
django-20: Django>=2.0,<2.1
django-21: Django>=2.1,<2.2
django-22: Django>=2.2,<2.3
django-master: https://github.com/django/django/archive/master.tar.gz
commands =
python --version
python -c "import platform; print(platform.architecture())"
python -c "import platform; print(platform.machine())"
python -c "import platform; print(platform.node())"
python -c "import platform; print(platform.platform())"
python -c "import platform; print(platform.processor())"
python -c "import platform; print(platform.python_build())"
python -c "import platform; print(platform.python_compiler())"
python -c "import platform; print(platform.python_branch())"
python -c "import platform; print(platform.python_implementation())"
python -c "import platform; print(platform.python_revision())"
python -c "import platform; print(platform.python_version())"
python -c "import platform; print(platform.release())"
python -c "import platform; print(platform.system())"
python -c "import platform; print(platform.version())"
python -c "import platform; print(platform.system_alias(platform.system(), platform.release(), platform.version()))"
python -c "import platform; print(platform.uname())"
pip freeze
python {toxinidir}/setup.py test {env:SUPPRESS_COVERAGE_REPORT:}