From 92dc0e95539eb9b491cfe0f78f662038a1f9e29a Mon Sep 17 00:00:00 2001 From: Andrea Cavalli Date: Sat, 10 Oct 2020 15:57:55 +0200 Subject: [PATCH] Update .travis.yml --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index a7163c6..4aa6148 100644 --- a/.travis.yml +++ b/.travis.yml @@ -62,4 +62,6 @@ cache: install: ./travis/install_dependencies.sh script: ./travis/build.sh -after_success: ./travis/build_success.sh +after_success: + - if [ "$TRAVIS_BRANCH" = "develop" ]; then ./travis/build_success.sh; fi + - if [ "$TRAVIS_BRANCH" = "master" ]; then ./travis/deploy.sh; fi