From a7a6a534f30dfe6dc6d91641bd1c25843b8d35a2 Mon Sep 17 00:00:00 2001 From: LAMBERT Jean-charles Date: Mon, 2 Sep 2019 16:02:46 +0200 Subject: [PATCH] add testpypi for osx --- .gitlab-ci.yml | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7cd2105..d1811e8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -16,9 +16,10 @@ stages: variables : TWINE_USERNAME: jcl TWINE_PASSWORD: $TEST_PY_PASSWD - WHEEL : 0 - TESTPYPI : 0 - OSX : 0 + WHEEL : 0 + TESTPYPI : 0 + TESTPYPIOSX : 0 + OSX : 0 before_script: # clone @@ -93,6 +94,20 @@ OSX: - test-*.res - wheel/* expire_in: 1 week + +push-testpypi-OSX: + stage: testpypi + tags: + - osx_10.13.6 + only : + variables: + - $TESTPYPIOSX == "1" + script: + - python3.7 -m twine upload -u $TWINE_USERNAME -p $TWINE_PASSWORD --repository-url https://test.pypi.org/legacy/ ./wheel/python*unsio* + cache: + key: osx + paths: + - wheel/ # # RPM Distros # -- GitLab