|
@@ -3,24 +3,17 @@ set -ev
|
|
|
|
|
|
if [ $ANALYZE = "true" ]; then
|
|
if [ $ANALYZE = "true" ]; then
|
|
echo "=== Skipping after_success scripts in ANALYZE mode ==="
|
|
echo "=== Skipping after_success scripts in ANALYZE mode ==="
|
|
-
|
|
|
|
else
|
|
else
|
|
echo "=== Executing after_success scripts ==="
|
|
echo "=== Executing after_success scripts ==="
|
|
-
|
|
|
|
if [ "$CC" = "gcc" ] && [ "${TRAVIS_REPO_SLUG}" = "open62541/open62541" ]; then
|
|
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"
|
|
|
|
|
|
+ if [ ${TRAVIS_BRANCH} = "0.2" ]; then
|
|
|
|
+ sh ./tools/travis/travis_push_doc.sh
|
|
|
|
+ fi
|
|
|
|
+ if [ ${TRAVIS_BRANCH} = "0.2" ]; then
|
|
|
|
+ sh ./tools/travis/travis_push_coverity.sh
|
|
fi
|
|
fi
|
|
-
|
|
|
|
sh ./tools/travis/travis_push_release.sh;
|
|
sh ./tools/travis/travis_push_release.sh;
|
|
else
|
|
else
|
|
echo " Skipping push scripts since not gcc and/or ${TRAVIS_REPO_SLUG} is not the main repo"
|
|
echo " Skipping push scripts since not gcc and/or ${TRAVIS_REPO_SLUG} is not the main repo"
|
|
fi
|
|
fi
|
|
-fi
|
|
|
|
|
|
+fi
|