Skip to content

Commit 9b510ca

Browse files
committed
Updated travis build conf
1 parent 7d655d0 commit 9b510ca

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

.travis.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,15 @@ language: go
33
go:
44
- 1.11.x
55

6-
env:
7-
- DEP_VERSION="0.5.0"
8-
96
# Anything in before_script that returns a nonzero exit code will flunk the
107
# build and immediately stop. It's sorta like having set -e enabled in bash.
118
# Make sure golangci-lint is vendored.
129
before_install:
1310
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s -- -b $GOPATH/bin v1.10.2
1411
# Download the binary to bin folder in $GOPATH
1512
- curl -L -s https://github.com/golang/dep/releases/download/v${DEP_VERSION}/dep-linux-amd64 -o $GOPATH/bin/dep
16-
# Make the binary executable
17-
- chmod +x $GOPATH/bin/dep
1813

1914
install:
20-
# Check the dependency, -skip-lock may be useful because the version are not fixed but depends
21-
# from the branch master of the libraries so they change very often
22-
- dep check -skip-vendor
23-
- dep ensure
2415

2516
script:
2617
# Check if the code is formatted
@@ -34,6 +25,3 @@ script:
3425
after_success:
3526
- bash <(curl -s https://codecov.io/bash)
3627

37-
cache:
38-
directories:
39-
- $GOPATH/pkg/dep

0 commit comments

Comments
 (0)