diff --git a/.travis.yml b/.travis.yml index a2033e68..a25d9c4a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,29 +2,10 @@ language: python python: - '2.6' - '2.7' -env: - global: - - secure: exbot0LTV/0Wic6ElKCrOZmh2ZrieuGwEqfYKf5rVuwu1sLngYRihh+lBL/hTwc79NSu829pbwiWfsQZrXbk/yvaS7avGR0CLDoipyPxlYa2/rfs/o4OdTZqXv0LcFmmd54j5QBMpWU1S+CYOwNkwas57trrvIpPbzWjMtfYzOU= install: - pip install . - pip install -r requirements.txt - pip install -r requirements-dev.txt -- sudo curl -L -o /usr/local/bin/orchard https://github.com/orchardup/go-orchard/releases/download/2.0.5/linux -- sudo chmod +x /usr/local/bin/orchard -before_script: - - 'if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then orchard hosts rm -f $TRAVIS_JOB_ID || true; fi' - - 'if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then orchard hosts create $TRAVIS_JOB_ID; fi' script: - - nosetests tests/unit - flake8 fig - - 'if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then script/travis-integration; fi' -after_script: - - 'if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then orchard hosts rm -f $TRAVIS_JOB_ID; fi' -deploy: - provider: pypi - user: orchard - password: - secure: M8UMupCLSsB1hV00Zn6ra8Vg81SCFBpbcRsa0nUw9kgXn9hOCESWYVHTqQ1ksWZOa8z6WMaqYtoosPKXGJQNf0wF/kEVDsMUeaZWOF/PqDkx1EwQ1diVfwlbN4/k0iX+Se7SrZfiWnJiAqiIPqToQipvLlJohqf8WwfPcVvILVE= - on: - tags: true - repo: orchardup/fig + - nosetests tests/unit diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a27b665d..924cca87 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -91,3 +91,8 @@ The easiest way to do this is to use the `--signoff` flag when committing. E.g.: 5. Publish GitHub release, creating tag 6. Update website with `script/deploy-docs` + +7. Upload PyPi package + + $ git checkout $VERSION + $ python setup.py sdist upload