Skip to content
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

Do not attempt to deploy library to PyPI on each Travis CI environment #21

Open
playpauseandstop opened this issue Feb 18, 2019 · 1 comment
Assignees
Labels
Milestone

Comments

@playpauseandstop
Copy link
Owner

Build #68 at Travis CI failed cause Travis attempted to deploy (upload) new version of Flask-And-Redis library to PyPI from each Python version, which is wrong.

Need to fix .travis.yml config to allow deploy library only for python 3.7.

@docapotamus
Copy link

docapotamus commented Mar 14, 2019

Hi.

I was just looking for the docs link and saw this. I quickly checked the Travis docs. I think the solution may be:

deploy:
  provider: pypi
  user: playpauseandstop
  password:
    secure: adlnY9sKpfJPdcpnh0SuhQ4iIbZozQ4uNMJ/UgAra4ft4FfiDhYKqqbz58mX0PSKhLcaA0RAeLeesMqqiKrEBRmmQeu7k/pM5kw3Z57B7H/zMIoHDqgbdUMvM3Jf6PZrgx5qat48ECGZHz0ImvQzwfr98i1k+wmJM5on2X6pWgU=
  distributions: sdist bdist_wheel
  on:
    branch: "master"
    python: "3.7"
    tags: true

I thought this may have been hard to test in a PR.

@playpauseandstop playpauseandstop added this to the 1.1.0 milestone Feb 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants