travis_linux_after_success.sh 568 B

123456789101112131415161718
  1. #!/bin/bash
  2. set -ev
  3. if [ -z ${DOCKER+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. if [ "${TRAVIS_PULL_REQUEST}" = "false" ] && [ "${TRAVIS_BRANCH}" = "master" ]; then
  8. sh ./tools/travis/travis_push_doc.sh
  9. sh ./tools/travis/travis_push_coverity.sh
  10. fi
  11. sh ./tools/travis/travis_push_release.sh;
  12. else
  13. echo "=== Not in the main repository or not the main build; Skip release scripts ==="
  14. fi
  15. fi