travis: Move the mac deploy script into a bash script.
parent
37866341ed
commit
e43c81c661
|
@ -74,12 +74,11 @@ deploy:
|
||||||
tags: true
|
tags: true
|
||||||
condition: $TRAVIS_OS_NAME = linux
|
condition: $TRAVIS_OS_NAME = linux
|
||||||
repo: tantivy-search/tantivy-py
|
repo: tantivy-search/tantivy-py
|
||||||
|
python: 3.8
|
||||||
|
|
||||||
# Deploy for macos using maturin directly
|
# Deploy for macos using maturin directly
|
||||||
provider: script
|
provider: script
|
||||||
script:
|
script: "ci/deploy_mac.sh"
|
||||||
- maturin list-python
|
|
||||||
- maturin publish --interpreter python3.7 --username __token__ --password $MATURIN_PASSWORD --no-sdist
|
|
||||||
on:
|
on:
|
||||||
tags: true
|
tags: true
|
||||||
condition: $TRAVIS_OS_NAME = osx
|
condition: $TRAVIS_OS_NAME = osx
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
maturin publish \
|
||||||
|
--interpreter python3.7 \
|
||||||
|
--username __token__ \
|
||||||
|
--password "$MATURIN_PASSWORD" \
|
||||||
|
--no-sdist
|
Loading…
Reference in New Issue