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