diff options
Diffstat (limited to '.run_formal_checks.sh')
| -rwxr-xr-x | .run_formal_checks.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.run_formal_checks.sh b/.run_formal_checks.sh index ace9e4b0..942b3e1a 100755 --- a/.run_formal_checks.sh +++ b/.run_formal_checks.sh @@ -12,7 +12,7 @@ DUT=$1 if [ $TRAVIS_PULL_REQUEST = "false" ]; then echo "Not a pull request, no formal check" exit 0 -elif [[ $TRAVIS_COMMIT_MESSAGE == *"[skip formal checks]"* ]]; then +elif git log --format=%B --no-merges $TRAVIS_BRANCH..HEAD | grep '\[skip formal checks\]'; then echo "Commit message says to skip formal checks" exit 0 else |
