mirror of
https://github.com/graphql-python/graphene-django.git
synced 2024-11-26 03:24:07 +03:00
Update travis config to only run deploy once (#837)
This commit is contained in:
parent
efe210f8ac
commit
3dd04f68ab
17
.travis.yml
17
.travis.yml
|
@ -12,8 +12,17 @@ after_success:
|
||||||
- pip install coveralls
|
- pip install coveralls
|
||||||
- coveralls
|
- coveralls
|
||||||
|
|
||||||
matrix:
|
stages:
|
||||||
|
- test
|
||||||
|
- name: deploy
|
||||||
|
if: tag IS present
|
||||||
|
|
||||||
|
jobs:
|
||||||
fast_finish: true
|
fast_finish: true
|
||||||
|
|
||||||
|
allow_failures:
|
||||||
|
- env: DJANGO=master
|
||||||
|
|
||||||
include:
|
include:
|
||||||
- python: 2.7
|
- python: 2.7
|
||||||
env: DJANGO=1.11
|
env: DJANGO=1.11
|
||||||
|
@ -56,9 +65,9 @@ matrix:
|
||||||
- python: 3.7
|
- python: 3.7
|
||||||
env: TOXENV=black,flake8
|
env: TOXENV=black,flake8
|
||||||
|
|
||||||
allow_failures:
|
- stage: deploy
|
||||||
- env: DJANGO=master
|
python: 3.7
|
||||||
|
after_success: true
|
||||||
deploy:
|
deploy:
|
||||||
provider: pypi
|
provider: pypi
|
||||||
user: syrusakbary
|
user: syrusakbary
|
||||||
|
|
Loading…
Reference in New Issue
Block a user