travis_linux_after_success.sh 696 B

1234567891011121314151617181920
  1. #!/bin/bash
  2. set -ev
  3. if [ -z ${DOCKER+x} ] && [ -z ${SONAR+x} ]; then
  4. # Only on non-docker builds required
  5. if [ "$ANALYZE" = "false" ] && [ "$CC" = "gcc" ] && [ "${TRAVIS_REPO_SLUG}" = "open62541/open62541" ]; then
  6. echo "=== Executing after_success scripts ==="
  7. # List branches where the doc should be pushed to the webpage
  8. if [ "${TRAVIS_PULL_REQUEST}" = "false" ] && (
  9. [ "${TRAVIS_BRANCH}" = "master" ] || [ "${TRAVIS_BRANCH}" = "0.3" ]); then
  10. sh ./tools/travis/travis_push_doc.sh
  11. sh ./tools/travis/travis_push_coverity.sh
  12. fi
  13. sh ./tools/travis/travis_push_release.sh;
  14. else
  15. echo "=== Not in the main repository or not the main build; Skip release scripts ==="
  16. fi
  17. fi