Skip to content

Commit

Permalink
Limit deploy-to-pypi to single python version
Browse files Browse the repository at this point in the history
Fix for #138

We want to avoid that each item in the test matrix triggers a deployment
to pypi. This limits the deploy job to when the python version is 3.7,
hence it should only run once.
  • Loading branch information
Martin Bauer committed Oct 24, 2018
1 parent d7a9ed6 commit 0f60d3f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ deploy:
on:
tags: true
repo: James1345/django-rest-knox
python: "3.7"
only:
- master
distributions: "sdist bdist_wheel"
Expand Down

0 comments on commit 0f60d3f

Please sign in to comment.