Skip to content

Commit c838130

Browse files
authored
Merge pull request #1084 from camilamacedo86/fix-ci
fix(ci): By using fix version of dep which is compatible with go 1.12
2 parents 3634564 + 1794891 commit c838130

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.travis.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ os:
1212
go:
1313
- "1.12"
1414

15+
env:
16+
- GOPROXY=https://proxy.golang.org/
17+
1518
git:
1619
depth: 3
1720

@@ -21,7 +24,9 @@ services:
2124
- docker
2225

2326
before_install:
24-
- go get -u github.com/golang/dep/cmd/dep
27+
# NOTE: The latest version of dep requires go 1.13
28+
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then mkdir -p /Users/travis/gopath/bin; fi
29+
- GO111MODULE=on curl https://raw.githubusercontent.com/golang/dep/v0.5.1/install.sh | sh
2530
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then GO111MODULE=on scripts/install_and_setup.sh; fi
2631

2732
before_script:

0 commit comments

Comments
 (0)