Merge pull request #90 from samueldg/feature/support-python37
Feature/support python37
This commit is contained in:
commit
2b53eed348
7 changed files with 17 additions and 15 deletions
|
@ -4,6 +4,7 @@ python:
|
||||||
- "3.4"
|
- "3.4"
|
||||||
- "3.5"
|
- "3.5"
|
||||||
- "3.6"
|
- "3.6"
|
||||||
|
# - "3.7" # TODO: Re-enable after https://github.com/travis-ci/travis-ci/issues/9815 is fixed
|
||||||
sudo: false
|
sudo: false
|
||||||
install:
|
install:
|
||||||
- pip install tox-travis
|
- pip install tox-travis
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM python:3.6
|
FROM python:3.7-slim
|
||||||
|
|
||||||
ENV APP_DIR=/usr/src/snappass
|
ENV APP_DIR=/usr/src/snappass
|
||||||
|
|
||||||
|
|
|
@ -104,7 +104,7 @@ Alternatively, you can use `Docker`_ and `Docker Compose`_ to install and run Sn
|
||||||
|
|
||||||
$ docker-compose up -d
|
$ docker-compose up -d
|
||||||
|
|
||||||
This will pull all dependencies, i.e. Redis and appropriate Python version (3.6), then start up SnapPass and Redis server. SnapPass server is accessible at: http://localhost:5000
|
This will pull all dependencies, i.e. Redis and appropriate Python version (3.7), then start up SnapPass and Redis server. SnapPass server is accessible at: http://localhost:5000
|
||||||
|
|
||||||
We're Hiring!
|
We're Hiring!
|
||||||
-------------
|
-------------
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
pytest==3.5.1
|
pytest==3.6.3
|
||||||
pytest-cov==2.5.1
|
pytest-cov==2.5.1
|
||||||
mockredispy==2.9.3
|
mockredispy==2.9.3
|
||||||
coverage==4.2
|
coverage==4.5.1
|
||||||
flake8==3.0.4
|
flake8==3.5.0
|
||||||
tox==3.0.0
|
tox==3.1.2
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
Flask==0.11.1
|
Flask==1.0.2
|
||||||
Jinja2==2.7.1
|
Jinja2==2.10
|
||||||
MarkupSafe==0.18
|
MarkupSafe==1.0
|
||||||
Werkzeug==0.9.4
|
Werkzeug==0.14.1
|
||||||
itsdangerous==0.23
|
itsdangerous==0.24
|
||||||
redis==2.8.0
|
redis==2.10.6
|
||||||
cryptography==1.8.1
|
cryptography==2.2.2
|
||||||
mock==1.0.1
|
mock==2.0.0
|
||||||
|
|
1
setup.py
1
setup.py
|
@ -31,6 +31,7 @@ setup(
|
||||||
'Programming Language :: Python :: 3.4',
|
'Programming Language :: Python :: 3.4',
|
||||||
'Programming Language :: Python :: 3.5',
|
'Programming Language :: Python :: 3.5',
|
||||||
'Programming Language :: Python :: 3.6',
|
'Programming Language :: Python :: 3.6',
|
||||||
|
'Programming Language :: Python :: 3.7',
|
||||||
'Topic :: Software Development :: Libraries :: Python Modules',
|
'Topic :: Software Development :: Libraries :: Python Modules',
|
||||||
],
|
],
|
||||||
zip_safe=False,
|
zip_safe=False,
|
||||||
|
|
2
tox.ini
2
tox.ini
|
@ -1,5 +1,5 @@
|
||||||
[tox]
|
[tox]
|
||||||
envlist = py27, py34, py35, py36, flake8
|
envlist = py27, py34, py35, py36, py37, flake8
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
setenv =
|
setenv =
|
||||||
|
|
Loading…
Reference in a new issue