django-watson/tox.ini

45 lines
973 B
INI
Raw Normal View History

2016-11-07 19:48:02 +00:00
[tox]
envlist =
begin
2017-06-19 21:09:41 +00:00
py33-django18-{sqlite,postgres,mysql}
2017-06-13 11:30:09 +00:00
{py27,py34,py35}-django{18,19,110,111}-{sqlite,postgres,mysql}
py36-django111-{sqlite,postgres,mysql}
end
flake8
2016-11-07 19:48:02 +00:00
[testenv]
usedevelop = True
deps =
django18: Django>=1.8,<1.9
django19: Django>=1.9,<1.10
django110: Django>=1.10,<1.11
2017-06-13 11:30:09 +00:00
django111: Django>=1.11,<1.12
2016-11-07 19:48:02 +00:00
coverage>=4.1
postgres: psycopg2
mysql: mysqlclient
commands =
begin: coverage erase
sqlite: coverage run -a tests/runtests.py
postgres: coverage run -a tests/runtests.py -d psql
mysql: coverage run -a tests/runtests.py -d mysql
end: coverage report
[travis]
python =
2.7: begin, py27, end
2017-06-19 21:09:41 +00:00
3.3: begin, py33, end
3.4: begin, py34, end
3.5: begin, py35, end, flake8
3.6: begin, py36, end
[flake8]
max-line-length=120
exclude=build,venv,migrations,south_migrations,.tox
[testenv:flake8]
2017-06-19 08:08:10 +00:00
basepython = python3.5
deps =
flake8>=2.5.4
commands =
flake8