Skip to content

Instantly share code, notes, and snippets.

@andykuszyk
Created September 7, 2017 10:29
Show Gist options
  • Save andykuszyk/665174f886017278415f7d86547bc8c8 to your computer and use it in GitHub Desktop.
Save andykuszyk/665174f886017278415f7d86547bc8c8 to your computer and use it in GitHub Desktop.
Travis PyPi release

Encrypt your PyPi password using:

echo -n "password1" | travis encrypt --add deploy.password

in your root dir.

.travis.yml

language: python
python:
- 3.5
script:
- echo building...
deploy:
  provider: pypi
  user: [username]
  password:
    secure: [encrypted-password]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment