Skip to content

PyPi Setup #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 1, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,8 @@ python:
cache:
pip: true

# TODO: if deployment to PyPi is desired, change 'DEPLOY_PYPI' to "true",
# or remove the env block entirely and remove the condition in the
# deploy block.
env:
- DEPLOY_PYPI="false"
- DEPLOY_PYPI="true"

deploy:
- provider: releases
Expand All @@ -26,12 +23,10 @@ deploy:
overwrite: true
on:
tags: true
# TODO: Use 'travis encrypt --com -r adafruit/<repo slug>' to generate
# the encrypted password for adafruit-travis. Paste result below.
- provider: pypi
user: adafruit-travis
password:
secure: #-- PASTE ENCRYPTED PASSWORD HERE --#
secure: gFlUJx4AFvVTzhbRbTiBXl3be3Nm+m9VHCSA6ICatUdO34NA7Wzo+rBoV7YDjV85Pc3U9G5zW9SvXb9BMIT7k4tOqmog5RCtzwlLq3S/RRoOkGr6UY702EC1M0ruMVHBBAB5Pwzfom8VVRNL9n4nXsPfr41U35M6daIYH+onEDXIhq+ES3NkU3ciTC/q9QO9ChsHuWS1oNjGxmiYWqDEJ6vYL34D2RYIq4+P/hmFFM9rvhYBRYT+MYeHBOXbsc5KZhoIki7rKU0UW4zQcORkvMuWfalLWd24GR8aG9rB9fZrnAZG1qGtqwBCh91CNlzt8eziPOGeP1hXMnVHnvXveumnSBrFcGvkQ2DYu3v6kUn9AVMoJ3oeDpegCzse7jgOLUipJ0eXN1lmEKpEZNlszRGlSA2m2mYVo4WwqMSz7ZtZWG7L+4OQ21JG+MbACoQJJ//YxAwFtALQrVlOaE9X7ElCDnlceYRebm7RTQ0bE4+BTL08ppKyOaiFJxdbSz3ZPufNHVlM8oYqIwRPLLZozMG5WmtZ62EO3Jvb0YicuccO2xNCHW0zySxQgbzVMfLnN4F9wSxcLIADbXnvPx1A5D6zd1CxFK16S49CJZm0QUPlXMA7ac1rwKv6sZhPA4/rsoOLbkPTaqZZtrwmc4/+9qRxSDbR0YDAmR5ZMnQjT5I=
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not certain this is tabbed correctly. I checked a couple other PRs for PyPI and the line starts next to secure:. It may be an artifact of the line being longer and GitHub formatting it this way. If it fails, this is the first place you should look.

on:
tags: true
condition: $DEPLOY_PYPI = "true"
Expand Down