-
Notifications
You must be signed in to change notification settings - Fork 26
/
tox.ini
36 lines (34 loc) · 892 Bytes
/
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
# Tox (http://codespeak.net/~hpk/tox/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
[tox]
minversion=1.8.0
envlist =
py{27,34,35,36}-dj111,
py{34,35,36,37}-dj20,
py{35,36,37}-dj21,
flake8
[testenv]
basepython =
py27: python2.7
py34: python3.4
py35: python3.5
py36: python3.6
py37: python3.7
deps =
coverage
py27: mock
py37-dj21: codecov
dj111: django >=1.11,<2.0
dj20: django >=2.0,<2.1
dj21: django >=2.1,<2.2
djmaster: https://github.com/django/django/archive/master.tar.gz
commands =
coverage run --source=testapp,compositefk manage.py test
py37-dj21: codecov
[testenv:flake8]
skip_install = true
basepython = python3
deps = flake8
commands = flake8