travis: deploy snap only on master

This commit is contained in:
Ruslan Kuprieiev
2020-01-06 20:16:22 +02:00
committed by GitHub
parent ec574a0055
commit cf37fe2c56
+3
View File
@@ -98,6 +98,7 @@ jobs:
tags: true
repo: iterative/dvc
- name: Snapcraft snap
stage: deploy
addons:
snaps:
- name: snapcraft
@@ -121,6 +122,8 @@ jobs:
snap: dvc_*.snap
channel: ${SOURCE_TAG:+stable}${SOURCE_TAG:-edge}
skip_cleanup: true
on:
branch: master
before_install:
- bash ./scripts/ci/before_install.sh