forked from graphite-project/graphite-web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
63 lines (60 loc) · 1.39 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
[tox]
envlist =
# Django 1.4, 1.5 and 1.6 support Python 2.6+
py2{6,7}-django1{4,5,6}-pyparsing2,
# Django 1.7+ supports python 2.7
py27-django1{7,8}-pyparsing2,
py27-django16-pyparsing1, lint, docs
[testenv]
whitelist_externals =
mkdir
setenv =
DJANGO_SETTINGS_MODULE=tests.settings
PYTHONPATH={toxinidir}/webapp
GRAPHITE_NO_PREFIX=true
changedir = webapp
commands =
django-admin.py test
deps =
cairocffi
django-tagging>=0.3.5,<0.4
pytz
py26: mock<1.1.0
py27: mock
py26: unittest2
git+git://github.com/graphite-project/whisper.git#egg=whisper
git+git://github.com/graphite-project/ceres.git#egg=ceres
pyparsing1: pyparsing==1.5.7
pyparsing2: pyparsing
django14: Django>=1.4,<1.5
django15: Django>=1.5,<1.6
django16: Django>=1.6,<1.7
django17: Django>=1.7,<1.8
django18: Django>=1.8,<1.9
django14,django15: django-discover-runner
basepython =
py26: python2.6
py27: python2.7
[testenv:docs]
basepython = python2.7
changedir = docs
deps =
cairocffi
django-tagging
pytz
git+git://github.com/graphite-project/whisper.git#egg=whisper
git+git://github.com/graphite-project/ceres.git#egg=ceres
Django
pyparsing
Sphinx
sphinx_rtd_theme
commands =
mkdir -p {envsitepackagesdir}/../storage/ceres
sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
[testenv:lint]
basepython = python2.7
deps =
flake8
commands =
flake8 {toxinidir}/webapp/graphite
flake8 {toxinidir}/webapp/tests