Skip to content

Commit

Permalink
Remove restore packages
Browse files Browse the repository at this point in the history
Remove dep ensure
  • Loading branch information
moikot committed Oct 12, 2020
1 parent b26f2ba commit 1399eb6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
5 changes: 0 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,6 @@ matrix:

- stage: build and test
script:
# Restore packages using moikot/golang-dep
- >-
docker run --rm -v $(pwd):${APP_FOLDER} -w ${APP_FOLDER}
-u $(id -u ${USER}):$(id -g ${USER})
moikot/golang-dep ensure -vendor-only
# Run all the tests and report the coverage
- go test -covermode=count -coverprofile=profile.cov -coverpkg=./... ./...
- $GOPATH/bin/goveralls -coverprofile=profile.cov -service=travis-ci
Expand Down
2 changes: 0 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ ARG APP_FOLDER
ADD . ${APP_FOLDER}
WORKDIR ${APP_FOLDER}

RUN dep ensure -vendor-only

# Compile independent executable using go wrapper from xx:golang
ARG TARGETPLATFORM
RUN CGO_ENABLED=0 go build -a -o /bin/main .
Expand Down

0 comments on commit 1399eb6

Please sign in to comment.