forked from aldryn/aldryn-faq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
53 lines (46 loc) · 1.08 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
49
50
51
52
53
[tox]
toxworkdir = {homedir}/.toxenvs/aldryn-faq
envlist =
flake8
py{36,35,34,27}-dj{18,19,110,111}-cms{34,35}
skip_missing_interpreters = True
[testenv]
passenv =
CI
HOME
COVERALLS_REPO_TOKEN
whitelist_externals =
gulp
sh
sleep
deps =
dj18: -rtest_requirements/django-1.8.txt
dj19: -rtest_requirements/django-1.9.txt
dj110: -rtest_requirements/django-1.10.txt
dj111: -rtest_requirements/django-1.11.txt
cms34: django-cms>=3.4,<3.5
cms34: djangocms-text-ckeditor>=3.0,<3.1
cms35: django-cms>=3.5,<3.6
cms35: djangocms-text-ckeditor>=3.0
coveralls
basepython =
py27: python2.7
py33: python3.3
py34: python3.4
py35: python3.5
commands =
{envpython} --version
- coverage erase
coverage run test_settings.py
- coverage report
fe: gulp tests:unit
fe: gulp tests:lint
fe: gulp tests:integration
[testenv:flake8]
deps = flake8
commands = flake8
basepython = python2.7
[flake8]
ignore = E251,E128
exclude = build/*,aldryn_faq/migrations/*,docs/conf.py,node_modules/*,.tox/*
max-line-length = 120