machi/priv/test-for-gh-pr.sh
Scott Lystig Fritchie ae7eba9dcf Excuse to re-push
2015-10-16 18:30:46 +09:00

9 lines
197 B
Bash
Executable file

#!/bin/sh
if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then
echo '$TRAVIS_PULL_REQUEST is false, skipping tests'
exit 0
else
echo '$TRAVIS_PULL_REQUEST is not false, running tests'
make test
fi