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 1b512ad commit dd3edb0Copy full SHA for dd3edb0
ci/lib.sh
@@ -2,7 +2,8 @@
2
3
if test true = "$TRAVIS"
4
then
5
- # We are running within Travis CI
+ # When building a PR, TRAVIS_BRANCH refers to the *target* branch. Not
6
+ # what we want here. We want the source branch instead.
7
CI_BRANCH="${TRAVIS_PULL_REQUEST_BRANCH:-$TRAVIS_BRANCH}"
8
CI_COMMIT="$TRAVIS_COMMIT"
9
CI_JOB_ID="$TRAVIS_JOB_ID"
0 commit comments