Added the webhook in the last stage and removed useless things

This commit is contained in:
Paul Fd 2020-03-08 16:44:02 +01:00
parent 18529e21f8
commit 76ec234891

View file

@ -47,7 +47,6 @@ jobs:
- sourceline: 'ppa:ubuntu-toolchain-r/test' - sourceline: 'ppa:ubuntu-toolchain-r/test'
- os: linux - os: linux
name: "Linux amd64 static LV2" name: "Linux amd64 static LV2"
name: "sfizz-linux-amd64-lv2"
dist: bionic dist: bionic
env: env:
- BUILD_TYPE=lv2 - BUILD_TYPE=lv2
@ -86,8 +85,6 @@ jobs:
- os: linux - os: linux
name: "Generate documentation" name: "Generate documentation"
dist: bionic dist: bionic
# Change before integrating...
# if: (tag IS present) AND (branch = master)
if: (tag IS present) AND (branch = master) if: (tag IS present) AND (branch = master)
addons: addons:
apt: apt:
@ -105,6 +102,17 @@ jobs:
- true - true
after_success: after_success:
- true - true
- os: linux
name: "Discord Webhook"
dist: bionic
before_install:
- true
install:
- true
script:
- true
after_success:
- bash ${TRAVIS_BUILD_DIR}/.travis/discord_webhook.sh success
before_install: before_install:
- bash ${TRAVIS_BUILD_DIR}/.travis/before_install.sh - bash ${TRAVIS_BUILD_DIR}/.travis/before_install.sh
@ -119,7 +127,6 @@ after_failure:
- bash ${TRAVIS_BUILD_DIR}/.travis/discord_webhook.sh failure - bash ${TRAVIS_BUILD_DIR}/.travis/discord_webhook.sh failure
after_success: after_success:
- bash ${TRAVIS_BUILD_DIR}/.travis/discord_webhook.sh success
- bash ${TRAVIS_BUILD_DIR}/.travis/after_success.sh - bash ${TRAVIS_BUILD_DIR}/.travis/after_success.sh
deploy: deploy: