@@ -195,7 +195,7 @@ to tag the build, or to run post-build deployments.
195
195
- `TRAVIS_BUILD_NUMBER` : The number of the current build (for example, "4").
196
196
- `TRAVIS_BUILD_WEB_URL` : URL to the build log.
197
197
- `TRAVIS_COMMIT` : The commit that the current build is testing.
198
- - `TRAVIS_COMMIT_MESSAGE` : The commit subject and body, unwrapped. PLEASE NOTE: This is not the same as *Custom Commit Message*.
198
+ - `TRAVIS_COMMIT_MESSAGE` : The commit subject and body, unwrapped. It will contain *Custom Commit Message* if it was provided .
199
199
- `TRAVIS_COMMIT_RANGE` : The range of commits that were included in the push
200
200
or pull request. (Note that this is empty for builds triggered by the initial commit of a new branch.)
201
201
- `TRAVIS_COMPILER` : Indicates the compiler used by the current job (e.g., `clang`, `gcc`).
@@ -223,6 +223,10 @@ to tag the build, or to run post-build deployments.
223
223
- `TRAVIS_PULL_REQUEST_SLUG` :
224
224
+ if the current job is a pull request, the slug (in the form `owner_name/repo_name`) of the repository from which the PR originated.
225
225
+ if the current job is a push build, this variable is empty (`""`).
226
+ - `TRAVIS_PULL_REQUEST_IS_DRAFT` :
227
+ + set to `true` if the current job is a pull request and the associated PR is in a draft state
228
+ + set to `false` if the current job is a pull request and the associated PR is not in a draft state
229
+ + if the current job is a push build, this variable is empty (`""`).
226
230
- `TRAVIS_REPO_SLUG` : The slug (in form: `owner_name/repo_name`) of the repository currently being built.
227
231
- `TRAVIS_SECURE_ENV_VARS` :
228
232
+ set to `true` if there are any encrypted environment variables.
0 commit comments