[tox]
install_command = pip install {opts} {packages}
downloadcache = {toxworkdir}/_download/
envlist = lint,{py27,py35}-{1.6,1.7,1.8,1.9}
indexserver =
    default = https://pypi.python.org/simple

[testenv]
usedevelop = True
commands =
  coverage run -p --omit="*tests*" --source=baya --branch \
    ./baya/tests/manage.py test {posargs:baya} \
    --with-xunit --xunit-file=nosetests-{envname}.xml
deps =
  -r{toxinidir}/requirements.txt
  -r{toxinidir}/requirements-dev.txt
  1.6: Django>=1.6,<1.7
  1.7: Django>=1.7,<1.8
  1.8: Django>=1.8,<1.9
  1.9: Django>=1.9,<1.10

[testenv:lint]
commands =
  flake8 -v baya
deps =
  flake8==2.4.1

[flake8]
ignore = E731,E402

[tox]
install_command = pip install {opts} {packages}
downloadcache = {toxworkdir}/_download/
envlist = lint,{py27,py35}-{1.6,1.7,1.8,1.9,1.10}
indexserver =
    default = https://pypi.python.org/simple

[testenv]
usedevelop = True
commands =
  coverage run -p --omit="*tests*" --source=baya --branch \
    ./baya/tests/manage.py test {posargs:baya} \
    --with-xunit --xunit-file=nosetests-{envname}.xml
deps =
  -r{toxinidir}/requirements.txt
  -r{toxinidir}/requirements-dev.txt
  1.6: Django>=1.6,<1.7
  1.7: Django>=1.7,<1.8
  1.8: Django>=1.8,<1.9
  1.9: Django>=1.9,<1.10
  1.10: Django>=1.10,<1.11

[testenv:lint]
commands =
  flake8 -v baya
deps =
  flake8==2.4.1

[flake8]
ignore = E731,E402

Add django 1.10 to build matrix.
Add django 1.10 to build matrix.
