https://github.com/angular/angular
Raw File
Tip revision: dcfe4173f3ed96143849b7eda70683664439cee8 authored by Kevin Moore on 10 August 2015, 17:44:04 UTC
refactor: allow the latest dart_style version
Tip revision: dcfe417
after-script.sh
#!/bin/bash
set -e -o pipefail

echo '*******************'
echo '** AFTER_SUCCESS **'
echo '*******************'


echo '---------------------'
echo '-- WAIT FOR OTHERS --'
echo '---------------------'

curl -Lo travis_after_all.py https://raw.github.com/jbdeboer/travis_after_all/master/travis_after_all.py
python travis_after_all.py
. .to_export_back

echo BUILD_LEADER=$BUILD_LEADER
echo BUILD_AGGREGATE_STATUS=$BUILD_AGGREGATE_STATUS

if [ "$BUILD_LEADER" = "YES" ]; then
  if [ "$BUILD_AGGREGATE_STATUS" = "others_succeeded" ]; then
    ./scripts/ci/presubmit-queue-success.sh
  else
    echo "ERROR: Some Failed, not submitting"
  fi
else
  echo "ERROR: Other builds have not finished, not submitting"
fi
back to top