Don't run tests when building Docker images.

Use maintained go-bindata.
This commit is contained in:
Jan Grewe 2018-12-30 11:06:01 +01:00
parent 2cba4905f7
commit 6cea6ae9d9
3 changed files with 1 additions and 4 deletions

View File

@ -18,8 +18,6 @@ ADD ./cmd/magneticod /go/src/github.com/boramalper/magnetico/cmd/magneticod
RUN curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
WORKDIR /go/src/github.com/boramalper/magnetico/
RUN make ensure
RUN make test-persistence
RUN make test-magneticod
RUN make magneticod
FROM alpine:latest

View File

@ -18,8 +18,6 @@ ADD ./cmd/magneticow /go/src/github.com/boramalper/magnetico/cmd/magneticow
RUN curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
WORKDIR /go/src/github.com/boramalper/magnetico/
RUN make ensure
RUN make test-persistence
RUN make test-magneticow
RUN make magneticow
FROM alpine:latest

View File

@ -22,6 +22,7 @@ image: image-magneticod image-magneticow
# Download dependencies
ensure:
dep ensure -v
go get -u github.com/kevinburke/go-bindata/...
vet:
go vet github.com/boramalper/magnetico/...