Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ashutoshdtu committed Mar 11, 2021
1 parent 3666085 commit 5304e7b
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 11 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@

language: python
python:
- 3.9
- 3.8
- 3.7
- 3.6
- 2.7
- 3.5

# Command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install: pip install -U tox-travis
Expand All @@ -27,4 +28,4 @@ deploy:
on:
tags: true
repo: eazyly/eazyserver
python: 3.8
python: 3.9
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Did someone say features?

* Cross-platform: Windows, Mac, and Linux are officially supported.

* Works with Python 2.7, 3.6, 3.7, 3.8 and PyPy.
* Works with Python 3.5, 3.6, 3.7, 3.8, 3.9 and PyPy.

* Supports RESTful APIs over mongodb datasource using Python Eve.

Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,13 @@
"Intended Audience :: Developers",
"License :: OSI Approved :: GPL-2.0",
"Natural Language :: English",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
description=description,
entry_points={
Expand Down
5 changes: 3 additions & 2 deletions tests/test_eazyserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
Tests for `eazyserver` package.
:license: GPL-2.0, see LICENSE for more details.
License:
GPL-2.0, see LICENSE for more details.
"""


Expand Down Expand Up @@ -61,4 +62,4 @@ def assert200(self, status):


if __name__ == "__main__":
unittest.main()
unittest.main()
15 changes: 11 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
[tox]
envlist = py27, py36, py37, py38, flake8
envlist = py35, py36, py37, py38, py39, flake8

[travis]
python =
3.9: py39
3.8: py38
3.7: py37
3.6: py36
2.7: py27
3.5: py35

[testenv:flake8]
basepython = python
Expand All @@ -16,6 +17,12 @@ commands = flake8 eazyserver
[testenv]
setenv =
PYTHONPATH = {toxinidir}

commands = python setup.py test
deps =
-r{toxinidir}/requirements_dev.txt
; If you want to make tox run the tests with the same versions, create a
; requirements.txt with the pinned versions and uncomment the following line:
; -r{toxinidir}/requirements.txt
commands =
pip install -U pip
pytest --basetemp={envtmpdir}

0 comments on commit 5304e7b

Please sign in to comment.