Skip to content

Commit

Permalink
fix(ci): By using fix version of dep which is compatible with go 1.12
Browse files Browse the repository at this point in the history
  • Loading branch information
camilamacedo86 committed Oct 9, 2019
1 parent 3634564 commit 1794891
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ os:
go:
- "1.12"

env:
- GOPROXY=https://proxy.golang.org/

git:
depth: 3

Expand All @@ -21,7 +24,9 @@ services:
- docker

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

before_script:
Expand Down

0 comments on commit 1794891

Please sign in to comment.