Skip to content

Commit

Permalink
travis build fix for py36
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelgrinberg committed May 16, 2018
1 parent 9bd8f4b commit 6e7f329
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 12 deletions.
27 changes: 18 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,22 @@
language: python
env:
- TOXENV=flake8
- TOXENV=py26
- TOXENV=py27
- TOXENV=py34
- TOXENV=py35
- TOXENV=py36
- TOXENV=pypy
- TOXENV=docs
matrix:
include:
- python: 3.6
env: TOXENV=flake8
- python: 2.7
env: TOXENV=py27
- python: 3.4
env: TOXENV=py34
- python: 3.5
env: TOXENV=py35
- python: 3.6
env: TOXENV=py36
- python: pypy
env: TOXENV=pypy
- python: pypy3
env: TOXENV=pypy3
- python: 3.6
env: TOXENV=docs
install:
- pip install tox
script:
Expand Down
2 changes: 1 addition & 1 deletion examples/basic_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ def index():


if __name__ == '__main__':
app.run()
app.run(debug=True, host='0.0.0.0')
2 changes: 1 addition & 1 deletion examples/multi_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def verify_token(token):
g.user = None
try:
data = jwt.loads(token)
except:
except: # noqa: E722
return False
if 'username' in data:
g.user = data['username']
Expand Down
2 changes: 1 addition & 1 deletion examples/token_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def verify_token(token):
g.user = None
try:
data = jwt.loads(token)
except:
except: # noqa: E722
return False
if 'username' in data:
g.user = data['username']
Expand Down

0 comments on commit 6e7f329

Please sign in to comment.