From 32c07759fc3f6e2ac28ee5b25063aa091165ab03 Mon Sep 17 00:00:00 2001 From: Thomas Ferreira de Lima Date: Tue, 2 Apr 2019 20:10:23 -0400 Subject: [PATCH] (sudo) pip install -U twine --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 230d3b945..40201f5e0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -585,6 +585,6 @@ after_success: # uploading to pypi using twine # need TWINE_USERNAME, TWINE_PASSWORD and TWINE_REPOSITORY_URL env variable - if [ "$PYTHON_BUILD" = true ] || [ "$DOCKER_BUILD" = true ]; then - pip install -U twine; + pip install -U twine || sudo pip install -U twine; twine upload --skip-existing deploy/dist-pymod/$klayout_version/*; fi