8000 chore: test travis env tools · graphql-python/graphql-server@d433a65 · GitHub
[go: up one dir, main page]

Skip to content

Commit d433a65

Browse files
committed
chore: test travis env tools
1 parent 5487aba commit d433a65

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

tox.ini

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
[tox]
22
envlist =
3-
black,flake8,import-order,mypy,manifest,py{27,35,36,37,38,39-dev,py,py3}
3+
black,flake8,import-order,mypy,manifest,
4+
py{27,35,36,37,38,39-dev,py,py3}
45
; requires = tox-conda
56

7+
[travis]
8+
python =
9+
3.6: py36,black,flake8,import-order,mypy
10+
611
[testenv]
712
passenv = *
813
setenv =
@@ -16,31 +21,31 @@ commands =
1621
pytest --cov-report=term-missing --cov=graphql_server tests {posargs}
1722

1823
[testenv:black]
19-
basepython=python3.7
24+
basepython=python3.6
2025
deps = -e.[dev]
2126
commands =
2227
black --check graphql_server tests
2328

2429
[testenv:flake8]
25-
basepython=python3.7
30+
basepython=python3.6
2631
deps = -e.[dev]
2732
commands =
2833
flake8 setup.py graphql_server tests
2934

3035
[testenv:import-order]
31-
basepython=python3.7
36+
basepython=python3.6
3237
deps = -e.[dev]
3338
commands =
3439
isort -rc graphql_server/ tests/
3540

3641
[testenv:mypy]
37-
basepython=python3.7
42+
basepython=python3.6
3843
deps = -e.[dev]
3944
commands =
4045
mypy graphql_server tests --ignore-missing-imports
4146

4247
[testenv:manifest]
43-
basepython = python3.7
48+
basepython = python3.6
4449
deps = -e.[dev]
4550
commands =
4651
check-manifest -v

0 commit comments

Comments
 (0)
0