#!/bin/bash set -ev if [ $ANALYZE = "true" ]; then echo "=== Skipping after_success scripts in ANALYZE mode ===" else echo "=== Executing after_success scripts ===" if [[ "$CC" = "gcc" && "${TRAVIS_REPO_SLUG}" = "open62541/open62541" ]]; then if [[ ${TRAVIS_PULL_REQUEST} == "false" ]]; then if [[ ${TRAVIS_BRANCH} == "0.2" ]]; then sh ./tools/travis/travis_push_doc.sh fi if [[ ${TRAVIS_BRANCH} == "master" ]]; then sh ./tools/travis/travis_push_coverity.sh fi fi sh ./tools/travis/travis_push_release.sh; else echo " Skipping push scripts since not gcc and/or ${TRAVIS_REPO_SLUG} is not the main repo" fi fi