diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7cd21059718414945c88259d3fae1b516613d5dd..d1811e8ed0baf6e4d2354da74e83d0c690cee606 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 #