Detect use of Travis tests on Shippable.

This can occur when building pre-Shippable branches or PRs.

(cherry picked from commit 03597143d0)
pull/16362/head
Matt Clay 9 years ago
parent 945fb3411e
commit 8b3ce600d0

@ -1,5 +1,15 @@
#!/bin/sh
if [ "${SHIPPABLE}" = "true" ]; then
echo "It appears this job is running on Shippable instead of Travis."
if [ "${IS_PULL_REQUEST}" = "true" ]; then
echo "Please rebase the branch used for this pull request."
else
echo "This branch needs to be updated to work with Shippable."
fi
exit 1
fi
set -e
set -u
set -x

Loading…
Cancel
Save