[pytest]
addopts = --reuse-db
DJANGO_SETTINGS_MODULE = tests.settings.test
django_find_project = false

[tox]
envlist =
    flake8,
    py27-django{16,17,18}

[testenv]
deps = 
    django16: Django>=1.6,<1.7
    django17: Django>=1.7,<1.8
    django18: Django>=1.8
    -rrequirements/requirements-base.txt
    -rrequirements/requirements-test.txt
    -rrequirements/requirements-common.txt
commands = ./runtests.py --fast

[testenv:flake8]
deps =
    -rrequirements/requirements-codestyle.txt
    -rrequirements/requirements-test.txt
commands = ./runtests.py --lintonly

[pytest]
addopts = --reuse-db
DJANGO_SETTINGS_MODULE = tests.settings.test
django_find_project = false

[tox]
envlist =
    flake8,
    py27-django{16,17,18}

[testenv]
deps = 
    django16: Django>=1.6,<1.7
    django17: Django>=1.7,<1.8a1
    django18: Django>=1.8,<1.9
    -rrequirements/requirements-base.txt
    -rrequirements/requirements-test.txt
    -rrequirements/requirements-common.txt
commands = ./runtests.py --fast

[testenv:flake8]
deps =
    -rrequirements/requirements-codestyle.txt
    -rrequirements/requirements-test.txt
commands = ./runtests.py --lintonly

Fix the upper bound on django versions so that pre-releases are not installed.
Fix the upper bound on django versions so that pre-releases are not installed.
