Skip to content

Commit

Permalink
fix pypi deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
aperrin66 committed May 31, 2021
1 parent 61983a0 commit 98df929
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,13 @@ jobs:
"${BASE_IMAGE}"
bash -c "apt update && apt install -y g++ &&
coverage run --omit=nansat/mappers/*,nansat/tests/*,nansat/nansatmap.py --source=nansat setup.py test && coveralls"
deploy:
- provider: pypi
user: "__token__"
password: "${PYPI_TOKEN}"
skip_existing: true
on:
tags: true

- stage: 'Build docker images'
name: 'Build standard image'
Expand Down Expand Up @@ -83,15 +90,4 @@ jobs:
on:
tags: true
script: /bin/bash scripts/docker_push.sh "${TRAVIS_TAG}${DOCKER_TAG_SUFFIX}" "latest${DOCKER_TAG_SUFFIX}"

- stage: 'PyPI deployment'
if: tag IS present
deploy:
- provider: pypi
edge: true
user: "__token__"
password: "${PYPI_TOKEN}"
skip_existing: true
on:
tags: true
...

0 comments on commit 98df929

Please sign in to comment.