From 31627325ef302f0e2a12df42d9428a45b6af20e1 Mon Sep 17 00:00:00 2001 From: Lincoln Puzey Date: Sat, 28 Nov 2020 16:13:38 +0800 Subject: [PATCH] Use skip_existing key in travis pypi upload so that the build doesn't fail, when the version is already present in pypi due to an earlier job in the build already uploading it. --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 2d18f3d..df81546 100644 --- a/.travis.yml +++ b/.travis.yml @@ -67,6 +67,7 @@ deploy: # No need to provide the password anymore. It has been set as an PYPI_PASSWORD environment variable # on travis-ci.org web interface, and is picked automatically in this deploy stage for pypi. password: $PYPI_PASSWORD + skip_existing: true on: tags: true all_branches: true