forked from jazzband/django-nose
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
39 lines (36 loc) · 973 Bytes
/
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
[tox]
envlist =
{py26,py27}-django-14
{py27,py34}-django-{17,18}
{py27,py34}-django-master
flake8
docs
skip_missing_interpreters = True
[testenv]
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH COVERAGE RUNTEST_ARGS DATABASE_URL
commands =
./runtests.sh {env:RUNTEST_ARGS:}
coverage combine
deps =
coveralls
dj-database-url
django-14: Django>=1.4,<1.5
django-16: Django>=1.6,<1.7
django-{14,16}: South
django-17: Django>=1.7,<1.8
django-18: Django>=1.8,<1.9
django-master: https://github.com/django/django/archive/master.tar.gz
{py26,py27,py34}-django-{14,17,18,master}-postgres: psycopg2
{py26,py27,py34}-django-{14,17,18,master}-mysql: mysqlclient
[testenv:flake8]
deps =
Django>=1.8,<1.9
flake8==2.4.1
flake8-docstrings==0.2.1
commands = flake8
[testenv:docs]
changedir = docs
deps =
Sphinx
dj-database-url
commands = sphinx-build -b html -d {envtmpdir}/doctrees . {envtmpdir}/html