We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54fc96f commit 1b41ce8Copy full SHA for 1b41ce8
ci/lint/06_script.sh
@@ -7,7 +7,11 @@
7
export LC_ALL=C
8
9
if [ "$TRAVIS_EVENT_TYPE" = "pull_request" ]; then
10
- test/lint/commit-script-check.sh $TRAVIS_COMMIT_RANGE
+ # TRAVIS_BRANCH will be present in a Travis environment. For builds triggered
11
+ # by a pull request this is the name of the branch targeted by the pull request.
12
+ # https://docs.travis-ci.com/user/environment-variables/
13
+ COMMIT_RANGE="$TRAVIS_BRANCH..HEAD"
14
+ test/lint/commit-script-check.sh $COMMIT_RANGE
15
fi
16
17
test/lint/git-subtree-check.sh src/crypto/ctaes
0 commit comments