Merge pull request #2571 from johnfraney/tox-python-versions

Update CI config and fix failing CI envs
This commit is contained in:
Justin Mayer 2019-06-19 09:40:07 +02:00 committed by GitHub
commit 86777b9ce8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View file

@ -1,11 +1,11 @@
language: python
python:
- "3.5"
- "3.6"
env:
- TOX_ENV=docs
- TOX_ENV=flake8
- TOX_ENV=py27
- TOX_ENV=py35
- TOX_ENV=py36
matrix:
include:
- python: 3.6

View file

@ -138,6 +138,6 @@ if __name__ == '__main__':
args.port, args.server)
try:
httpd.serve_forever()
except KeyboardInterrupt as e:
except KeyboardInterrupt:
logger.info("Shutting down server.")
httpd.socket.close()

View file

@ -22,7 +22,7 @@ commands =
- coveralls
[testenv:docs]
basepython = python2.7
basepython = python3.6
deps =
-rrequirements/docs.pip
changedir = docs
@ -34,7 +34,7 @@ application-import-names = pelican
import-order-style = cryptography
[testenv:flake8]
basepython = python2.7
basepython = python3.6
deps =
-rrequirements/style.pip
commands =