Running all tests under noms when build containers
@@ -3,12 +3,11 @@ FROM golang:latest AS build
ENV NOMS_SRC=$GOPATH/src/github.com/attic-labs/noms
ENV CGO_ENABLED=0
ENV GOOS=linux
+ENV NOMS_VERSION_NEXT=1
RUN mkdir -pv $NOMS_SRC
COPY . ${NOMS_SRC}
-RUN cd $NOMS_SRC/cmd/noms; \
- go build; \
- go test
+RUN go test github.com/attic-labs/noms/...
RUN go install -v github.com/attic-labs/noms/cmd/noms
RUN cp $GOPATH/bin/noms /bin/noms
