Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
snoodleboot committed Aug 8, 2020
1 parent fbb3815 commit b343714
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions python.gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ test:
- bash <(curl -s https://codecov.io/bash)

test_deploy:
only:
- merge_requests
stage: build_and_push
image: python:3.7.7-buster
script:
Expand All @@ -24,10 +22,10 @@ test_deploy:
- pip install twine
- python setup.py sdist
- twine upload --verbose -u $PYPIUN -p $PYPIPSWD --repository-url https://test.pypi.org/legacy/ dist/*
only:
- merge_requests

prod_deploy:
only:
- master
stage: build_and_push
image: python:3.7.7-buster
script:
Expand All @@ -36,3 +34,5 @@ prod_deploy:
- pip install twine
- python setup.py sdist
- twine upload --verbose -u $PYPIUN_PROD -p $PYPIPSWD_PROD --repository-url https://pypi.org/legacy/ dist/*
only:
- master

0 comments on commit b343714

Please sign in to comment.