forked from divio/aldryn-categories
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
48 lines (43 loc) · 990 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
38
39
40
41
42
43
44
45
46
47
48
[tox]
toxworkdir = {homedir}/.toxenvs/aldryn-categories
envlist =
flake8
py{27,34,35,36}-dj111-cms{34,35,36}
py{34,35,36}-dj20-cms36
py{35,36}-dj21-cms36
[testenv]
passenv =
CI
TRAVIS_BUILD_NUMBER
TRAVIS_PULL_REQUEST
TRAVIS_REPO_SLUG
TRAVIS_JOB_NUMBER
whitelist_externals =
sh
sleep
commands =
{envpython} --version
- coverage erase
coverage run test_settings.py
- coverage report
deps =
-r{toxinidir}/test_requirements.txt
dj111: Django>=1.11,<2.0
dj20: Django>=2.0,<2.1
dj21: Django>=2.1,<2.2
cms34: django-cms>=3.4,<3.5
cms35: django-cms>=3.5,<3.6
cms36: https://github.com/divio/django-cms/archive/release/3.6.x.zip
basepython =
py27: python2.7
py34: python3.4
py35: python3.5
py36: python3.6
[testenv:flake8]
deps = flake8
commands = flake8
basepython = python3.5
[flake8]
ignore = E251,E128
exclude = aldryn_categories/migrations/*,docs/conf.py,build/*
max-line-length = 120