Skip to content

Commit

Permalink
Add steps to deploy to pypi in wercker file
Browse files Browse the repository at this point in the history
  • Loading branch information
adamreeve committed Jul 11, 2015
1 parent 600532e commit 88661e7
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions wercker.yml
Expand Up @@ -12,3 +12,16 @@ build:
code: |
python3 setup.py install
nosetests3
deploy:
steps:
- script:
name: Deploy to pypi
code: |
echo "[pypirc]
servers = pypi
[server-login]
username:$PYPI_USER
password:$PYPI_PASSWORD" > ~/.pypirc
python setup.py sdist upload
python setup.py bdist_wheel upload

0 comments on commit 88661e7

Please sign in to comment.