fulltest: run go install

This commit is contained in:
Sridhar Ratnakumar 2013-09-09 03:20:08 +00:00
parent f3332f1697
commit 4fb4f2aa10
2 changed files with 10 additions and 0 deletions

View File

@ -19,3 +19,12 @@ RUN go get -v github.com/ActiveState/tail
# expecting to run the test successfully. # expecting to run the test successfully.
RUN go test -v github.com/ActiveState/tail RUN go test -v github.com/ActiveState/tail
# expecting to install successfully
RUN go install -v github.com/ActiveState/tail
RUN go install -v github.com/ActiveState/tail/cmd/gotail
RUN $GOPATH/bin/gotail -h || true
ENV PATH $GOPATH/bin:$PATH
CMD ["gotail"]

View File

@ -6,5 +6,6 @@ test: *.go
fmt: fmt:
go fmt . go fmt .
# Run the test in an isolated environment.
fulltest: fulltest:
sudo docker build -t ActiveState/tail . sudo docker build -t ActiveState/tail .