Changed tox to only run Python 3.6+

This commit is contained in:
Eran Kampf 2019-06-01 14:22:17 -07:00
parent 4eb9a628b5
commit 5018e2d35f

View File

@ -1,16 +1,14 @@
[tox] [tox]
envlist = flake8,py27,py34,py35,py36,py37,pre-commit,pypy,mypy envlist = flake8,py36,py37,pre-commit,mypy
skipsdist = true skipsdist = true
[testenv] [testenv]
deps = deps =
.[test] .[test]
py{35,36,37}: pytest-asyncio py{36,37}: pytest-asyncio
setenv = setenv =
PYTHONPATH = .:{envdir} PYTHONPATH = .:{envdir}
commands = commands =
py{27,py}: py.test --cov=graphene graphene examples {posargs}
py{35}: py.test --cov=graphene graphene examples tests_asyncio {posargs}
py{36,37}: py.test --cov=graphene graphene examples tests_asyncio tests_py36 {posargs} py{36,37}: py.test --cov=graphene graphene examples tests_asyncio tests_py36 {posargs}
[testenv:pre-commit] [testenv:pre-commit]