mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-02 11:22:47 +00:00
Merge pull request #16159 from mattclay/detect-shippable
Detect use of Travis tests on Shippable.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user