mirror of
https://github.com/pypiserver/pypiserver
synced 2024-11-09 16:45:51 +01:00
chore(travis): +py36, +pypy3, no-sudo, with tox-travis
plugin
from https://github.com/tox-dev/tox-travis
This commit is contained in:
parent
05f5920c25
commit
a9d8c18163
21
.travis.yml
21
.travis.yml
@ -1,19 +1,20 @@
|
|||||||
sudo: travis
|
sudo: false
|
||||||
language: python
|
language: python
|
||||||
python: 3.5
|
python:
|
||||||
env:
|
- 2.7
|
||||||
- TOX_ENV=py27
|
- 3.3
|
||||||
- TOX_ENV=py33
|
- 3.4
|
||||||
- TOX_ENV=py34
|
- 3.5
|
||||||
- TOX_ENV=py35
|
- 3.6
|
||||||
- TOX_ENV=pypy
|
- pypy
|
||||||
|
- pypy3
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- pip install -U setuptools pip sphinx tox
|
- pip install -U setuptools pip sphinx tox tox-travis
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- ./bin/test_standalone.sh
|
- ./bin/test_standalone.sh
|
||||||
- tox -e $TOX_ENV
|
- tox
|
||||||
- ./bin/check_readme.sh
|
- ./bin/check_readme.sh
|
||||||
|
|
||||||
branches:
|
branches:
|
||||||
|
@ -22,7 +22,7 @@ wheel="./dist/pypiserver-*.whl"
|
|||||||
# prepend it with a python-flashbang + some header-comments >= 10-lines
|
# prepend it with a python-flashbang + some header-comments >= 10-lines
|
||||||
# so that ``head pypiserver*.py``behaves politely.
|
# 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
|
unzip -jo $wheel pypiserver/__main__.py -d ./dist
|
||||||
zip -d $wheel pypiserver/__main__.py
|
zip -d $wheel pypiserver/__main__.py
|
||||||
zip -mj $wheel ./dist/__main__.py
|
zip -mj $wheel ./dist/__main__.py
|
||||||
|
Loading…
Reference in New Issue
Block a user