Skip to content

Commit

Permalink
Merge pull request #108 from incuna/pypi-travis
Browse files Browse the repository at this point in the history
Enable package release via travis on tag push
  • Loading branch information
Kévin Etienne committed Mar 13, 2015
2 parents be3ca0a + cad1b21 commit 46bb93e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 8 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,11 @@ after_success:
coveralls
notifications:
email: false
deploy:
provider: pypi
user: incuna
on:
tags: true
password:
secure: DBkb54BXJe8FZ9Zp91VWOgDE3UjQ3ZHwPXJxLuSZWoUrluHbyE7ANdD3mbS+M97Ux7kfxRHpl1lSxZUe2ppMdl4Sl4hm5iVvdZkTc1ErmeJTDExMnK9E+4FDFj4UXTtGYQ1atTtE2cR8Dpbf0j3MchjiKBROOytNEUbYQfGnxEU=
distributions: "sdist bdist_wheel"
4 changes: 0 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,8 @@ SHELL := /bin/bash

help:
@echo "Usage:"
@echo " make release | Release to pypi."
@echo " make test | Run the tests."

release:
python setup.py register sdist bdist_wheel upload

test:
@coverage run ./user_management/tests/run.py
@coverage report --show-missing --fail-under=100
Expand Down

0 comments on commit 46bb93e

Please sign in to comment.