Skip to content

Instantly share code, notes, and snippets.

@JayH5
Last active January 29, 2019 10:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JayH5/254733e92e09805b60ef97e77005df4c to your computer and use it in GitHub Desktop.
Save JayH5/254733e92e09805b60ef97e77005df4c to your computer and use it in GitHub Desktop.
Example Travis build stage diff
@@ -17,3 +17,18 @@
- python: '3.7'
- python: '3.6'
- python: '3.5'
+
+ - stage: release
+ if: tag IS present
+ deploy:
+ provider: pypi
+ user: praekelt.org
+ password:
+ secure: <encrypted password>
+ distributions: sdist bdist_wheel
+ on:
+ tags: true
+
+ install: skip
+ script: skip
+ after_success: skip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment