Skip to content

Commit e46308b

Browse files
authored
OSX: -environment variables
Duplicates /user/environment-variables/
1 parent add3a08 commit e46308b

File tree

1 file changed

+0
-33
lines changed

1 file changed

+0
-33
lines changed

user/reference/osx.md

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -119,39 +119,6 @@ and later, use `xcode9.4` (or later).
119119
Every worker has at least one version of Go, Java, Python, Ruby and NodeJS to accommodate
120120
projects that may need one of those runtimes during the build.
121121

122-
## Environment variables
123-
124-
- `CI=true`
125-
- `TRAVIS=true`
126-
- `USER=travis`
127-
- `HOME=/Users/travis`
128-
129-
Additionally, Travis CI sets environment variables you can use in your build,
130-
e.g. to tag the build, or to run post-build deployments.
131-
132-
- `TRAVIS_BRANCH`:For builds not triggered by a pull request this is the
133-
name of the branch currently being built; whereas for builds triggered
134-
by a pull request this is the name of the branch targeted by the pull
135-
request (in many cases this will be `master`).
136-
- `TRAVIS_BUILD_DIR`: The absolute path to the directory where the repository
137-
being built has been copied on the worker.
138-
- `TRAVIS_BUILD_ID`: The id of the current build that Travis CI uses internally.
139-
- `TRAVIS_BUILD_NUMBER`: The number of the current build (for example, "4").
140-
- `TRAVIS_COMMIT`: The commit that the current build is testing.
141-
- `TRAVIS_COMMIT_RANGE`: The range of commits that were included in the push
142-
or pull request. (Note that this is empty for builds triggered by the initial commit of a new branch.)
143-
- `TRAVIS_JOB_ID`: The id of the current job that Travis CI uses internally.
144-
- `TRAVIS_JOB_NUMBER`: The number of the current job (for example, "4.1").
145-
- `TRAVIS_PULL_REQUEST`: The pull request number if the current job is a pull
146-
request, "false" if it's not a pull request.
147-
- `TRAVIS_SECURE_ENV_VARS`: Whether or not secure environment vars are being
148-
used. This value is either "true" or "false".
149-
- `TRAVIS_REPO_SLUG`: The slug (in form: `owner_name/repo_name`) of the
150-
repository currently being built. (for example, "travis-ci/travis-build").
151-
- `TRAVIS_OS_NAME`: On multi-OS builds, this value indicates the platform the job is running on.
152-
Values are `linux` and `osx` currently, to be extended in the future.
153-
- `TRAVIS_TAG`: If the current build is for a git tag, this variable is set to the tag's name.
154-
155122
## Ruby versions/implementations
156123

157124
Default macOS Ruby (depends on macOS version) -- You need to use `sudo` to install gems with this Ruby and you can also use the [pre-compiled Ruby binaries](https://rubies.travis-ci.org/) we made available.

0 commit comments

Comments
 (0)