Commit 03877030 authored by cr0hn's avatar cr0hn
Browse files

update: add auto-deploy to pypi using travis

parent 939ccb89
......@@ -15,3 +15,12 @@ script:
after_success:
- codecov
deploy:
# Deploy to PyPI
- provider: script
script: deploy/pypi.sh
skip_cleanup: true
on:
branch: master
\ No newline at end of file
#!/usr/bin/env bash
python setup.py sdist bdist_wheel
pip install twine && (twine upload -u $PYPI_USER -p $PYPI_PASSWD dist/* || /bin/true)
\ No newline at end of file
......@@ -36,7 +36,7 @@ from setuptools.command.test import test as TestCommand
with open(join(dirname(__file__), 'requirements.txt')) as f:
required = f.read().splitlines()
with open(join(dirname(__file__), 'requirements-performance.txt')) as f:
required_performance = f.read().splitlines()
......@@ -55,7 +55,7 @@ class PyTest(TestCommand):
setup(
name='aiohttp-swagger',
version='1.0.4',
version='1.0.5',
install_requires=required,
url='https://github.com/cr0hn/aiohttp-swagger',
license='BSD',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment