machi/priv/test-for-gh-pr.sh

10 lines
197 B
Bash
Raw Normal View History

#!/bin/sh
2015-10-16 09:25:23 +00:00
if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then
echo '$TRAVIS_PULL_REQUEST is false, skipping tests'
exit 0
else
2015-10-16 09:30:46 +00:00
echo '$TRAVIS_PULL_REQUEST is not false, running tests'
make test
fi