Try fixing travis conditions for deploy

This commit is contained in:
Jean Pierre Cimalando 2020-03-09 17:07:11 +01:00
parent 0476c6a2a3
commit df057871db

View file

@ -121,7 +121,7 @@ jobs:
- stage: "Deploy" - stage: "Deploy"
name: "Source packaging" name: "Source packaging"
if: (tag IS present) AND (branch = master) if: (tag IS present) AND (branch = master) AND (type = push)
env: env:
- INSTALL_DIR="sfizz-${TRAVIS_BRANCH}-src" - INSTALL_DIR="sfizz-${TRAVIS_BRANCH}-src"
addons: addons:
@ -132,7 +132,7 @@ jobs:
script: git-archive-all --prefix="sfizz-${TRAVIS_BRANCH}/" -9 "${INSTALL_DIR}.tar.gz" script: git-archive-all --prefix="sfizz-${TRAVIS_BRANCH}/" -9 "${INSTALL_DIR}.tar.gz"
- name: "Generate documentation" - name: "Generate documentation"
if: (tag IS present) AND (branch = master) if: (tag IS present) AND (branch = master) AND (type = push)
addons: addons:
apt: apt:
packages: packages: