8000 Merge pull request #306 from duboviy/patch-1 · faif/python-patterns@24c876d · GitHub
[go: up one dir, main page]

Skip to content

Commit 24c876d

Browse files
authored
Merge pull request #306 from duboviy/patch-1
Add Support for Python 3.8
2 parents e13574b + a916b09 commit 24c876d

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ matrix:
1111
env: TOXENV=ci36
1212
- python: "3.7"
1313
env: TOXENV=ci37
14+
- python: "3.8"
15+
env: TOXENV=ci38
1416

1517
cache:
1618
- pip

tox.ini

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = ci27,ci36,ci37,cov-report
2+
envlist = ci27,ci36,ci37,ci38,cov-report
33

44

55
[testenv]
@@ -33,6 +33,15 @@ commands =
3333
pytest --doctest-modules --ignore-glob="*__py2.py" patterns/
3434
pytest -s -vv --cov={envsitepackagesdir}/patterns --log-level=INFO tests/
3535

36+
[testenv:ci38]
37+
basepython = python3.8
38+
deps =
39+
-r requirements-dev.txt
40+
commands =
41+
flake8 --exclude="*__py2.py" patterns/
42+
pytest --doctest-modules --ignore-glob="*__py2.py" patterns/
43+
pytest -s -vv --cov={envsitepackagesdir}/patterns --log-level=INFO tests/
44+
3645
[testenv:cov-report]
3746
setenv =
3847
COVERAGE_FILE = .coverage

0 commit comments

Comments
 (0)
0