1
1
mirror of https://github.com/primer/css.git synced 2025-01-04 20:33:13 +03:00

tweak debug message formatting

This commit is contained in:
Shawn Allen 2017-07-20 17:51:11 -07:00
parent 03f4a9f3bd
commit 0e5d7905b2

View File

@ -12,10 +12,11 @@ if [[ "$event" = "pull_request" ]]; then
branch="$TRAVIS_PULL_REQUEST_BRANCH"
fi
echo "==== CI env ===="
echo "event: $event"
echo "branch: $branch"
echo "================"
echo "===== CI build ====="
echo " event: $event"
echo " branch: $branch"
echo "===================="
if [[ "$event" = "" || "$branch" = "" ]]; then
echo '❌ Missing $TRAVIS_EVENT_TYPE or $TRAVIS_BRANCH!'
exit 1