chore(travis): +py36, +pypy3, no-sudo, with tox-travis plugin

from https://github.com/tox-dev/tox-travis
This commit is contained in:
Kostis Anagnostopoulos 2017-10-31 18:22:06 +02:00 committed by Jordan Speicher
parent 05f5920c25
commit a9d8c18163
2 changed files with 12 additions and 11 deletions

@ -1,19 +1,20 @@
sudo: travis
sudo: false
language: python
python: 3.5
env:
- TOX_ENV=py27
- TOX_ENV=py33
- TOX_ENV=py34
- TOX_ENV=py35
- TOX_ENV=pypy
python:
- 2.7
- 3.3
- 3.4
- 3.5
- 3.6
- pypy
- pypy3
install:
- pip install -U setuptools pip sphinx tox
- pip install -U setuptools pip sphinx tox tox-travis
script:
- ./bin/test_standalone.sh
- tox -e $TOX_ENV
- tox
- ./bin/check_readme.sh
branches:

@ -22,7 +22,7 @@ wheel="./dist/pypiserver-*.whl"
# prepend it with a python-flashbang + some header-comments >= 10-lines
# so that ``head pypiserver*.py``behaves politely.
#
sudo update-ca-certificates
sudo update-ca-certificates || echo "Failed updating certs (run on travis container?)"
unzip -jo $wheel pypiserver/__main__.py -d ./dist
zip -d $wheel pypiserver/__main__.py
zip -mj $wheel ./dist/__main__.py