travis_linux_after_success.sh 512 B

1234567891011121314
  1. #!/bin/bash
  2. set -ev
  3. if [ "$ANALYZE" = "false" ] && [ "$CC" = "gcc" ] && [ "${TRAVIS_REPO_SLUG}" = "open62541/open62541" ]; then
  4. echo "=== Executing after_success scripts ==="
  5. if [ "${TRAVIS_PULL_REQUEST}" = "false" ] && [ "${TRAVIS_BRANCH}" = "0.2" ]; then
  6. sh ./tools/travis/travis_push_doc.sh
  7. sh ./tools/travis/travis_push_coverity.sh
  8. fi
  9. sh ./tools/travis/travis_push_release.sh;
  10. else
  11. echo "=== Not in the main repository or not the main build; Skip release scripts ==="
  12. fi