1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00
qTox/.travis/cirp/check_precondition.sh

14 lines
299 B
Bash
Raw Normal View History

#!/usr/bin/env bash
if [ ! -z "$TRAVIS_EVENT_TYPE" ] && [ "$TRAVIS_EVENT_TYPE" != "cron" ]
then
echo "Skipping publishing in a non-cron build"
exit 0
fi
if [ ! -z "$TRAVIS_PULL_REQUEST" ] && [ "$TRAVIS_PULL_REQUEST" != "false" ]
then
echo "Skipping publishing in a Pull Request"
exit 0
fi