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]
envlist = flake8,py27,py34,py35,py36,py37,pre-commit,pypy,mypy
envlist = flake8,py36,py37,pre-commit,mypy
skipsdist = true
[testenv]
deps =
.[test]
py{35,36,37}: pytest-asyncio
py{36,37}: pytest-asyncio
setenv =
PYTHONPATH = .:{envdir}
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}
[testenv:pre-commit]