From e43c81c661ec69efc6939752c826ee15d33cce24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Mon, 6 Jan 2020 15:53:16 +0100 Subject: [PATCH] travis: Move the mac deploy script into a bash script. --- .travis.yml | 5 ++--- ci/deploy_mac.sh | 7 +++++++ 2 files changed, 9 insertions(+), 3 deletions(-) create mode 100755 ci/deploy_mac.sh diff --git a/.travis.yml b/.travis.yml index 4b765d2..fc47f4f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -74,12 +74,11 @@ deploy: tags: true condition: $TRAVIS_OS_NAME = linux repo: tantivy-search/tantivy-py + python: 3.8 # Deploy for macos using maturin directly provider: script - script: - - maturin list-python - - maturin publish --interpreter python3.7 --username __token__ --password $MATURIN_PASSWORD --no-sdist + script: "ci/deploy_mac.sh" on: tags: true condition: $TRAVIS_OS_NAME = osx diff --git a/ci/deploy_mac.sh b/ci/deploy_mac.sh new file mode 100755 index 0000000..bda8314 --- /dev/null +++ b/ci/deploy_mac.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash + +maturin publish \ + --interpreter python3.7 \ + --username __token__ \ + --password "$MATURIN_PASSWORD" \ + --no-sdist