-
Notifications
You must be signed in to change notification settings - Fork 4
/
tox.ini
48 lines (41 loc) · 1.13 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
46
47
48
# Copyright Collab 2015-2019
# See LICENSE for details.
#
# Tox (https://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on the specified python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
[tox]
envlist =
{py27}-django-{18,19,110,111}
{py34}-django-{18,19,110,111}
{py35}-django-{18,19,110,111}
{py36}-django-{18,19,110,111}
skipsdist = False
skip_missing_interpreters = True
[base]
deps = .[test]
[testenv]
commands =
flake8
coverage run --source=. --rcfile={toxinidir}/.coveragerc {envbindir}/django-admin.py test -v 2
coverage report --rcfile={toxinidir}/.coveragerc --show-missing
setenv =
DJANGO_SETTINGS_MODULE=admin_footer.tests.settings
PYTHONPATH={toxinidir}
deps =
django-18: Django==1.8.*
django-19: Django==1.9.*
django-110: Django==1.10.*
django-111: Django==1.11.*
{[base]deps}
[testenv:coveralls]
basepython = python2.7
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
commands =
{[testenv]commands}
coveralls
deps =
Django==1.11.*
coveralls
{[base]deps}