Skip to content

Commit f07568f

Browse files
committed
gomod env variable
1 parent b52c421 commit f07568f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.travis.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ sudo: required
55
go:
66
- 1.11.2
77

8+
env:
9+
global:
10+
- GO111MODULE=on
11+
812
# The `x_base_steps` top-level key is unknown to travis,
913
# so we can use it to create a bunch of common build step
1014
# YAML anchors which we use in our build jobs.
@@ -50,9 +54,6 @@ x_base_steps:
5054
services:
5155
- docker
5256

53-
env:
54-
- GO111MODULE=on
55-
5657
jobs:
5758
include:
5859
# Build and test go

0 commit comments

Comments
 (0)