Skip to content

Commit 3cf77a5

Browse files
authored
Merge pull request #3438 from travis-ci/kw-docs_update
GO docs update
2 parents e4426f0 + d1707e2 commit 3cf77a5

File tree

2 files changed

+7
-11
lines changed

2 files changed

+7
-11
lines changed

user/environment-variables.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ to tag the build, or to run post-build deployments.
180180
+ set to `true` if the job is allowed to fail.
181181
+ set to `false` if the job is not allowed to fail.
182182
- `TRAVIS_APP_HOST`: The name of the server compiling the build script. This server serves certain helper files
183-
(such as `gimme`, `nvm`, `sbt`) from `/files` to avoid external network calls; e.g., `curl -O $TRAVIS_APP_HOST/files/gimme`
183+
(such as `nvm` or `sbt`) from `/files` to avoid external network calls
184184
- `TRAVIS_BRANCH`:
185185
+ for push builds, or builds not triggered by a pull request, this is the name of the branch.
186186
+ for builds triggered by a pull request this is the name of the branch targeted by the pull

user/languages/go.md

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ language: go
2525
```
2626
{: data-file=".travis.yml"}
2727
28-
Note that, in order to choose Go 1.10, you must use `go: "1.10"` (a string), not
29-
`go: 1.10` (a float). Using a float results in the use of Go 1.1.
28+
Note that, in order to choose e.g Go 1.18, you must use `go: "1.18.0"` (full version, not
29+
`go: 1.18` (shorter one)). Using a shorter one results in a missing GO package.
3030
</aside>
3131

3232
{{ site.data.snippets.linux_windows_note }}
@@ -37,20 +37,16 @@ configuration](/user/customizing-the-build/) guides first.
3737

3838
## Specify a Go version
3939

40-
You can use any tagged version of Go, a version with `x` in place of the minor
41-
or patch level to use the latest for a given major or minor version, or use
42-
`master` to get the latest version from source. All go version management is
43-
handled by [gimme](https://github.com/travis-ci/gimme).
40+
You can use any tagged version of Go from https://go.dev/dl/ - you need to specify
41+
the version you want precisely, like "1.23.2" and similar.
4442

4543

4644
```yaml
4745
language: go
4846
4947
go:
50-
- 1.x
51-
- "1.10"
52-
- 1.11.x
53-
- master
48+
- "1.22.4"
49+
- "1.18.1"
5450
```
5551
{: data-file=".travis.yml"}
5652

0 commit comments

Comments
 (0)