Skip to content

Commit d713732

Browse files
committed
Cleanup tox/travis
* Switch to python 3.8 in Travis. I tried to add 3.8 while keeping 3.7 and 3.6, but ran into issues with Travis config, so instead just bumped straight to 3.8. Long term I'd like to explore moving to Azure Pipelines, but don't have the time to figure that out just yet. * `flake8` was renamed to `pycodestyle` * `py.test` was deprecated in favor of `pytest`
1 parent b92391d commit d713732

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
sudo: false
22
language: python
3-
python: "3.6"
3+
python: "3.8"
44
env:
55
- TOXENV=py27
6-
- TOXENV=py36
6+
- TOXENV=py38
77
install:
88
- pip install tox
99
script: tox

tox.ini

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
[tox]
2-
envlist = py27,py36,stylecheck
2+
envlist = py27,py36,py37,py38,stylecheck
33

44
[testenv]
55
deps =
66
pytest
77
Flask-SQLAlchemy
88
Pygments
99
commands =
10-
py.test
10+
pytest
1111

1212
[testenv:stylecheck]
1313
deps =
14-
flake8
14+
pycodestyle
1515
commands =
16-
flake8 flask_debugtoolbar test
16+
pycodestyle flask_debugtoolbar test
1717

18-
[flake8]
18+
[pycodestyle]
1919
max-line-length = 100

0 commit comments

Comments
 (0)