Skip to content
This repository was archived by the owner on Aug 28, 2021. It is now read-only.

Using Dockerhub as a basic CI #3810

Merged
merged 5 commits into from
Aug 9, 2018
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ ENV GOOS=linux

RUN mkdir -pv $NOMS_SRC
COPY . ${NOMS_SRC}
RUN cd $NOMS_SRC/cmd/noms; \
go build; \
go test
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should build and test the packages under noms/go too.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will do, and I'll update the contributor guide since I cribbed the test commands from there ;)

RUN go install -v github.com/attic-labs/noms/cmd/noms
RUN cp $GOPATH/bin/noms /bin/noms

Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

[Use Cases](#use-cases)  |  [Setup](#setup)  |  [Status](#status)  |  [Documentation](./doc/intro.md)  |  [Contact](#contact-us)
<br><br>

[![Docker Build Status](https://img.shields.io/docker/build/noms/noms.svg)](https://hub.docker.com/r/noms/noms/)
[![GoDoc](https://godoc.org/github.com/attic-labs/noms?status.svg)](https://godoc.org/github.com/attic-labs/noms)

# Welcome
Expand Down