Skip to content

Commit

Permalink
add tox config to test Python 3.5 to 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
BurnzZ committed Aug 6, 2020
1 parent 57e04d6 commit 3449909
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ jobs:
name: run tests
command: |
. venv/bin/activate
py.test
pip install tox && tox
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@ pytest==5.2.1
six==1.12.0
w3lib==1.21.0
wcwidth==0.1.7
zipp==0.6.0
zipp==0.6.0
tox
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
],
install_requires=[
'pipe >= 1.5.0',
Expand All @@ -36,4 +37,4 @@
'dateparser >= 0.7.2',
'price-parser >= 0.3.2',
]
)
)
8 changes: 8 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[tox]
envlist = py35, py36, py37, py38
skip_missing_interpreters = True

[testenv]
commands = pytest tests/
deps =
pytest

0 comments on commit 3449909

Please sign in to comment.