summaryrefslogtreecommitdiff
path: root/tox.ini
blob: 4ccade64f0e8f826a8aa3f4346cbd8b0a3c030a8 (plain)
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
[tox]
envlist =
    py{27,34}-django{17,18,19}
    py{27,34}-alchemy10
    py{27,34}-mongoengine010
    examples
    lint

toxworkdir = {env:TOX_WORKDIR:.tox}

[testenv]
deps =
    -rrequirements_test.txt
    django17: Django>=1.7,<1.8
    django18: Django>=1.8,<1.9
    django19: Django>=1.9,<1.10
    django{17,18,19}: Pillow
    alchemy10: SQLAlchemy>=1.0,<1.1
    mongoengine010: mongoengine>=0.10,<0.11

whitelist_externals = make
commands = make test

[testenv:examples]
basepython = python3.4
deps =
    -rrequirements_test.txt
    -rexamples/requirements.txt

whitelist_externals = make
commands = make example-test

[testenv:lint]
deps =
    pylint
    check_manifest

whitelist_externals = make
commands = make lint