From c62e42a6af49362b6eabb8a662ff176c2d02dfe1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Mon, 6 Jan 2020 16:25:35 +0100 Subject: [PATCH] travis: Don't overwrite the deploy configs. --- .travis.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index fc47f4f..4b0d49a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -68,18 +68,18 @@ script: deploy: # Deploy for linux using the manylinux docker image. - provider: script - script: "ci/deploy.sh" - on: + - provider: script + script: "ci/deploy.sh" + on: tags: true condition: $TRAVIS_OS_NAME = linux repo: tantivy-search/tantivy-py python: 3.8 # Deploy for macos using maturin directly - provider: script - script: "ci/deploy_mac.sh" - on: + - provider: script + script: "ci/deploy_mac.sh" + on: tags: true condition: $TRAVIS_OS_NAME = osx repo: tantivy-search/tantivy-py