Update travis config to only run deploy once

This commit is contained in:
Jonathan Kim 2019-12-27 14:07:45 +00:00
parent b66a3f3479
commit 2807e4d759

View File

@ -12,8 +12,17 @@ after_success:
- pip install coveralls
- coveralls
matrix:
stages:
- test
- name: deploy
if: tag IS present
jobs:
fast_finish: true
allow_failures:
- env: DJANGO=master
include:
- python: 2.7
env: DJANGO=1.11
@ -56,9 +65,9 @@ matrix:
- python: 3.7
env: TOXENV=black,flake8
allow_failures:
- env: DJANGO=master
- stage: deploy
python: 3.7
after_success: true
deploy:
provider: pypi
user: syrusakbary