travis_linux_after_success.sh 645 B

1234567891011121314151617181920
  1. #!/bin/bash
  2. set -ev
  3. if [ $ANALYZE = "true" ]; then
  4. echo "=== Skipping after_success scripts in ANALYZE mode ==="
  5. else
  6. echo "=== Executing after_success scripts ==="
  7. if [ "$CC" = "gcc" ] && [ "${TRAVIS_REPO_SLUG}" = "open62541/open62541" ]; then
  8. if [ ${TRAVIS_BRANCH} = "0.2" ]; then
  9. sh ./tools/travis/travis_push_doc.sh
  10. fi
  11. if [ ${TRAVIS_BRANCH} = "0.2" ]; then
  12. sh ./tools/travis/travis_push_coverity.sh
  13. fi
  14. sh ./tools/travis/travis_push_release.sh;
  15. else
  16. echo " Skipping push scripts since not gcc and/or ${TRAVIS_REPO_SLUG} is not the main repo"
  17. fi
  18. fi