playpauseandstop / Flask-And-Redis

Simple as dead support of Redis database for Flask applications
http://flask-and-redis.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
84 stars 21 forks source link

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

Open playpauseandstop opened 5 years ago

playpauseandstop commented 5 years ago

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 commented 5 years ago

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.