forked from FidelityInternational/djangocms-fil-bootstrap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
37 lines (29 loc) · 743 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
37
[tox]
envlist =
flake8
isort
py{34,35,36}-dj{111,20}-sqlite-cms40
py{35,36}-dj21-sqlite-cms40
skip_missing_interpreters=True
[testenv]
deps =
-r{toxinidir}/tests/requirements.txt
dj111: Django>=1.11,<2.0
dj20: Django>=2.0,<2.1
dj21: Django>=2.1,<2.2
cms40: https://github.com/divio/django-cms/archive/release/4.0.x.zip
basepython =
py34: python3.4
py35: python3.5
py36: python3.6
commands =
{envpython} --version
{env:COMMAND:coverage} erase
{env:COMMAND:coverage} run setup.py test
{env:COMMAND:coverage} report
[testenv:flake8]
commands = flake8
basepython = python3.5
[testenv:isort]
commands = isort --recursive --check-only --diff {toxinidir}
basepython = python3.5