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

11 lines
235 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
echo '$TRAVIS_PULL_REQUEST is not false ($TRAVIS_PULL_REQUEST), running tests'
make test
make dialyzer
fi