From de358d661ad6e027eed4f151e5de4cca92402760 Mon Sep 17 00:00:00 2001 From: Casper da Costa-Luis Date: Sun, 19 Jan 2020 19:02:29 +0000 Subject: [PATCH] explicitly spilt snap stable/edge deployments - (re) fix #3152 --- .travis.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0bf07cd4f..14451410a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -135,10 +135,19 @@ deploy: stage: build - provider: snap snap: dvc_*.snap - channel: ${TRAVIS_TAG:+stable}${TRAVIS_TAG:-edge} + channel: stable skip_cleanup: true on: - all_branches: true - condition: "$(./scripts/ci/deploy_condition.sh dvc_*.snap) && ($TRAVIS_BRANCH = master || -n $TRAVIS_TAG)" + condition: "$(./scripts/ci/deploy_condition.sh dvc_*.snap)" + tags: true + repo: iterative/dvc + stage: build + - provider: snap + snap: dvc_*.snap + channel: edge + skip_cleanup: true + on: + branch: master + condition: "$(./scripts/ci/deploy_condition.sh dvc_*.snap)" repo: iterative/dvc stage: build