Skip to content

Commit 3ed7afc

Browse files
author
Pan
committed
Updated travis cfg.
1 parent 5b6d983 commit 3ed7afc

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.travis.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,17 @@ jobs:
6868
- ./ci/travis/pyenv-wheel.sh
6969
after_success:
7070
- if [[ ! -z "$TRAVIS_TAG" ]]; then
71-
twine upload -u $PYPI_U -p $PYPI_P wheels/*.whl;
71+
twine upload --skip-existing -u $PYPI_U -p $PYPI_P wheels/*.whl;
7272
fi
7373
language: generic
7474
python: skip
7575

7676
- <<: *osx-10-10
7777
env:
7878
- PYENV: 3.7.0
79+
install: skip
80+
script:
81+
- ./ci/travis/pyenv-wheel.sh
7982

8083
- &osx-wheels
8184
stage: build packages
@@ -107,7 +110,7 @@ jobs:
107110
- ./ci/travis/pyenv-wheel.sh
108111
after_success:
109112
- if [[ ! -z "$TRAVIS_TAG" ]]; then
110-
twine upload -u $PYPI_U -p $PYPI_P wheels/*.whl;
113+
twine upload --skip-existing -u $PYPI_U -p $PYPI_P wheels/*.whl;
111114
fi
112115
language: generic
113116
python: skip
@@ -176,7 +179,7 @@ jobs:
176179
- ./ci/travis/build-manylinux.sh
177180
after_success:
178181
- if [[ ! -z "$TRAVIS_TAG" ]]; then
179-
twine upload -u $PYPI_U -p $PYPI_P wheelhouse/*.whl;
182+
twine upload --skip-existing -u $PYPI_U -p $PYPI_P wheelhouse/*.whl;
180183
fi
181184
deploy:
182185
- provider: pypi

ci/travis/pyenv-wheel.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,4 @@ deactivate
4141
set -x
4242

4343
mv -f *.whl wheels/
44+
ls -lh wheels

0 commit comments

Comments
 (0)