Skip to content

Commit

Permalink
Merge pull request #31 from pavloo/develop
Browse files Browse the repository at this point in the history
add logging to deploy
  • Loading branch information
pavloo authored Apr 4, 2018
2 parents 94740d4 + fcfd9b5 commit 1560fb3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,14 @@ python:

before_install:
- pip install -r requirements.txt
- pip install twine

script:
- nosetests

deploy:
provider: script
script: deploy.sh
script: bash deploy.sh
skip_cleanup: true
on:
branch: master
3 changes: 2 additions & 1 deletion deploy.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/env bash

pip install twine
echo 'Building a wheel'
python setup.py bdist_wheel
echo 'Deploying to PyPI'
twine upload -u $PYPI_USERNAME -p $PYPI_PASSWORD dist/*

0 comments on commit 1560fb3

Please sign in to comment.