forked from divio/aldryn-newsblog
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tox.ini
65 lines (57 loc) · 1.58 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
54
55
56
57
58
59
60
61
62
63
64
65
[tox]
envlist =
flake8
py{35,34,27}-dj19-{sqlite,mysql,postgres}-cms{34,33,32}
py{34,33,27}-dj18-{sqlite,mysql,postgres}-cms{34,33,32}
py{34,33,27}-dj17-{sqlite,mysql,postgres}-cms32
py{33,27}-dj16-{sqlite,mysql,postgres}-cms32
py{26}-dj16-{sqlite,oldmysql,postgres}-cms32
[testenv]
passenv =
CI
HOME
SAUCE_ACCESS_KEY
SAUCE_USERNAME
TRAVIS_BUILD_NUMBER
TRAVIS_PULL_REQUEST
TRAVIS_REPO_SLUG
TRAVIS_JOB_NUMBER
whitelist_externals =
gulp
sh
sleep
deps =
py26: unittest2
py26: django-taggit<0.18
py26: ordereddict
py26: django-filer<=1.1.1
dj16: -rtest_requirements/django-1.6.txt
dj17: -rtest_requirements/django-1.7.txt
dj18: -rtest_requirements/django-1.8.txt
dj19: -rtest_requirements/django-1.9.txt
cms32: django-cms>=3.2,<3.3
cms32: djangocms-text-ckeditor>2.7,<=2.9.3
cms33: django-cms>=3.3,<3.4
cms33: djangocms-text-ckeditor>=3.0,<3.1
cms34: https://github.com/divio/django-cms/archive/develop.zip
cms34: djangocms-text-ckeditor>=3.0
# Does not support Python 2.6 or lower
mysql: mysqlclient
# Does not support Python 3+
oldmysql: MySQL-python
postgres: psycopg2
commands =
{envpython} --version
- coverage erase
coverage run test_settings.py
- coverage report
fe: gulp tests:unit
fe: gulp tests:lint
fe: gulp tests:integration --clean
[testenv:flake8]
deps = flake8
commands = flake8
[flake8]
ignore = E251,E128
exclude = aldryn_newsblog/migrations/*,aldryn_newsblog/south_migrations/*,node_modules/*,.tox/*
max-line-length = 120