Merge pull request #24 from orchardup/travis-pypi-deployment

Travis PyPi deployment
This commit is contained in:
Aanand Prasad 2014-01-16 11:12:40 -08:00
commit c0dbb1c2ec
2 changed files with 17 additions and 27 deletions

View File

@ -1,19 +1,23 @@
language: python
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
- '2.6'
- '2.7'
- '3.2'
- '3.3'
matrix:
allow_failures:
- python: "3.2"
- python: "3.3"
- python: '3.2'
- python: '3.3'
install: script/travis-install
script:
- pwd
- env
- sekexe/run "`pwd`/script/travis $TRAVIS_PYTHON_VERSION"
- pwd
- env
- sekexe/run "`pwd`/script/travis $TRAVIS_PYTHON_VERSION"
deploy:
provider: pypi
user: orchard
password:
secure: M8UMupCLSsB1hV00Zn6ra8Vg81SCFBpbcRsa0nUw9kgXn9hOCESWYVHTqQ1ksWZOa8z6WMaqYtoosPKXGJQNf0wF/kEVDsMUeaZWOF/PqDkx1EwQ1diVfwlbN4/k0iX+Se7SrZfiWnJiAqiIPqToQipvLlJohqf8WwfPcVvILVE=
on:
tags: true
repo: orchardup/fig

View File

@ -1,14 +0,0 @@
#!/bin/bash
set -xe
if [ -z "$1" ]; then
echo 'pass a version as first argument'
exit 1
fi
git tag $1
git push --tags
python setup.py sdist upload