Skip to content

Commit

Permalink
gomod env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
estroz committed Jan 25, 2019
1 parent b52c421 commit f07568f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ sudo: required
go:
- 1.11.2

env:
global:
- GO111MODULE=on

# The `x_base_steps` top-level key is unknown to travis,
# so we can use it to create a bunch of common build step
# YAML anchors which we use in our build jobs.
Expand Down Expand Up @@ -50,9 +54,6 @@ x_base_steps:
services:
- docker

env:
- GO111MODULE=on

jobs:
include:
# Build and test go
Expand Down

0 comments on commit f07568f

Please sign in to comment.