forked from django-cms/django-filer
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tox.ini
53 lines (48 loc) · 1.43 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]
envlist =
flake8
py{34,33,27}-django{19,18,17}-thumbs2x
py{34,33,27}-django{18,17,16}-custom_image-thumbs2x
py{34,33,27,26}-django{16,15}-thumbs1x
py{34,33,27}-django_master-thumbs2x
frontend
[testenv:docs]
changedir = docs
deps =
sphinx
commands =
sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
[testenv:flake8]
deps = flake8
commands = flake8
[flake8]
ignore = E251,E128,E501
exclude = build/*,docs/*,filer/migrations/*,filer/south_migrations/*,filer/migrations_django/*,filer/settings.py,filer/tests/*,filer/test_utils/custom_image/*,filer/test_utils/test_app/south_migrations/*
max-line-length = 80
[testenv:frontend]
whitelist_externals =
npm
gulp
commands =
- npm install
gulp ci
[testenv]
commands =
{envpython} --version
- coverage erase
coverage run --rcfile=coverage.rc test_settings.py
- coverage report
setenv =
custom_image: CUSTOM_IMAGE=filer.test_utils.custom_image.models.Image
deps =
thumbs1x: easy-thumbnails>=1.4,<2.0
thumbs2x: easy-thumbnails>=2.0,<2.4
django15: -rtest_requirements/django-1.5.txt
django16: -rtest_requirements/django-1.6.txt
django17: -rtest_requirements/django-1.7.txt
django18: -rtest_requirements/django-1.8.txt
; Note: Django 1.9+ is not supported yet
django19: -rtest_requirements/django-1.9.txt
django_master: -rtest_requirements/django-master.txt
py26: unittest2
py26: argparse