Skip to content

Instantly share code, notes, and snippets.

@andykuszyk
Created September 7, 2017 10:29
Show Gist options
  • Select an option

  • Save andykuszyk/665174f886017278415f7d86547bc8c8 to your computer and use it in GitHub Desktop.

Select an option

Save andykuszyk/665174f886017278415f7d86547bc8c8 to your computer and use it in GitHub Desktop.

Revisions

  1. andykuszyk created this gist Sep 7, 2017.
    19 changes: 19 additions & 0 deletions Travis PyPi release.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,19 @@
    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]
    ```