|
@@ -7,18 +7,20 @@ if [ $ANALYZE = "true" ]; then
|
|
|
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
|
|
|
+ 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
|
|
|
+ else
|
|
|
+ echo " Skipping push doc/coverity on pull requests"
|
|
|
+ fi
|
|
|
|
|
|
- sh ./tools/travis/travis_push_release.sh;
|
|
|
+ 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
|
|
|
fi
|