Skip to content

Commit ca4f311

Browse files
authored
Merge pull request #970 from Jamim/feature/python3.8-tests
Enable testing for Python 3.8
2 parents 9c205e6 + 4d85892 commit ca4f311

File tree

3 files changed

+10
-22
lines changed

3 files changed

+10
-22
lines changed

.travis.yml

+4
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ matrix:
2828
env: TOXENV=py37
2929
- python: 3.7
3030
env: TOXENV=py37-functional
31+
- python: 3.8
32+
env: TOXENV=py38
33+
- python: 3.8
34+
env: TOXENV=py38-functional
3135

3236
install:
3337
- pip install tox

setup.py

+1
Original file line numberDiff line numberDiff line change
@@ -77,5 +77,6 @@
7777
"Programming Language :: Python :: 3.5",
7878
"Programming Language :: Python :: 3.6",
7979
"Programming Language :: Python :: 3.7",
80+
"Programming Language :: Python :: 3.8",
8081
],
8182
)

tox.ini

+5-22
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
[tox]
2-
envlist = py27, py35, py36, py37
2+
envlist =
3+
py27, py3{5,6,7,8}
4+
py27-functional, py3{5,6,7,8}-functional
35

46
[testenv]
57
passenv = TOXENV CI TRAVIS TRAVIS_*
@@ -9,7 +11,8 @@ deps = -r{toxinidir}/test-requirements.txt
911
-r{toxinidir}/requirements.txt
1012
commands =
1113
python -V
12-
pytest -vvv -s --ignore=kubernetes/e2e_test
14+
!functional: pytest -vvv -s --ignore=kubernetes/e2e_test
15+
functional: {toxinidir}/scripts/kube-init.sh pytest -vvv -s []
1316

1417
[testenv:docs]
1518
commands =
@@ -19,26 +22,6 @@ commands =
1922
commands =
2023
{toxinidir}/scripts/update-pycodestyle.sh
2124

22-
[testenv:py27-functional]
23-
commands =
24-
python -V
25-
{toxinidir}/scripts/kube-init.sh pytest -vvv -s []
26-
27-
[testenv:py35-functional]
28-
commands =
29-
python -V
30-
{toxinidir}/scripts/kube-init.sh pytest -vvv -s []
31-
32-
[testenv:py36-functional]
33-
commands =
34-
python -V
35-
{toxinidir}/scripts/kube-init.sh pytest -vvv -s []
36-
37-
[testenv:py37-functional]
38-
commands =
39-
python -V
40-
{toxinidir}/scripts/kube-init.sh pytest -vvv -s []
41-
4225
[testenv:coverage]
4326
commands =
4427
python -V

0 commit comments

Comments
 (0)