[tox]
envlist = py{27,34,35,36}-django{111,2}

[testenv]
commands = coverage run --parallel -m pytest {posargs}
deps =
    -r{toxinidir}/requirements.txt
    django-oscar>=1.6,<1.7
    django111: django>=1.11,<1.12
    django2: django>=2,<2.1

[testenv:lint]
basepython = python3.6
deps =
    flake8
    isort
commands =
    flake8 paypal tests setup.py
    isort -q --recursive --diff paypal tests setup.py

[testenv:coverage-report]
basepython = python3.6
deps = coverage
skip_install = true
commands =
    coverage combine
    coverage report

[tox]
envlist = py{27,34,35,36}-django{111,2}

[testenv]
commands = coverage run --parallel -m pytest {posargs}
deps =
    -r{toxinidir}/requirements.txt
    django-oscar>=1.6,<1.7
    django111: django>=1.11,<1.12
    django2: django>=2,<2.1
    django21: django>=2.1,<2.2

[testenv:lint]
basepython = python3.6
deps =
    flake8
    isort
commands =
    flake8 paypal tests setup.py
    isort -q --recursive --diff paypal tests setup.py

[testenv:coverage-report]
basepython = python3.6
deps = coverage
skip_install = true
commands =
    coverage combine
    coverage report

Add Django 2.1 to the Tox environments list.
Add Django 2.1 to the Tox environments list.
