travis: Add deployment configuration.
parent
4e2b72cd1d
commit
4c02d1762b
|
@ -56,3 +56,11 @@ jobs:
|
|||
|
||||
script:
|
||||
- pipenv run py.test -rws -v tests/
|
||||
|
||||
deploy:
|
||||
provider: script
|
||||
script: "ci/deploy.sh"
|
||||
on:
|
||||
tags: true
|
||||
repo: tantivy-search/tantivy-py
|
||||
python: 3.8
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
docker run \
|
||||
--env MATURIN_PASSWORD="$MATURIN_PASSWORD" \
|
||||
--rm \
|
||||
-v "$(pwd)":/io \
|
||||
konstin2/maturin \
|
||||
publish \
|
||||
--interpreter python3.7 python3.8 \
|
||||
--username __token__ \
|
||||
--password "$MATURIN_PASSWORD"
|
Loading…
Reference in New Issue