Skip to content

Commit cc137a9

Browse files
authored
Merge pull request #651 from travis-ci/sw-event-type
Added TRAVIS_EVENT_TYPE
2 parents 7c88e1f + b4971f9 commit cc137a9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

user/environment-variables.md

+1
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ to tag the build, or to run post-build deployments.
179179
* `TRAVIS_COMMIT`: The commit that the current build is testing.
180180
* `TRAVIS_COMMIT_RANGE`: The range of commits that were included in the push
181181
or pull request.
182+
* `TRAVIS_EVENT_TYPE`: Indicates how the build was triggered. One of `push`, `pull_request`, `api`, `cron`.
182183
* `TRAVIS_JOB_ID`: The id of the current job that Travis CI uses internally.
183184
* `TRAVIS_JOB_NUMBER`: The number of the current job (for example, "4.1").
184185
* `TRAVIS_OS_NAME`: On multi-OS builds, this value indicates the platform the job is running on.

0 commit comments

Comments
 (0)