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 language: python
python: python:
- "3.5" - "3.6"
env: env:
- TOX_ENV=docs - TOX_ENV=docs
- TOX_ENV=flake8 - TOX_ENV=flake8
- TOX_ENV=py27 - TOX_ENV=py27
- TOX_ENV=py35 - TOX_ENV=py36
matrix: matrix:
include: include:
- python: 3.6 - python: 3.6

View file

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

View file

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