system testing using docker
This commit is contained in:
parent
b87764baaf
commit
45e3f1a853
|
@ -0,0 +1,18 @@
|
||||||
|
# -*- sh -*-
|
||||||
|
|
||||||
|
FROM ubuntu:quantal
|
||||||
|
|
||||||
|
RUN echo "deb http://archive.ubuntu.com/ubuntu quantal main universe" >> /etc/apt/sources.list
|
||||||
|
|
||||||
|
RUN apt-get -qy update
|
||||||
|
RUN apt-get -qy install golang-go
|
||||||
|
RUN apt-get -qy install git mercurial bzr subversion
|
||||||
|
|
||||||
|
ENV GOPATH $HOME/go
|
||||||
|
|
||||||
|
# expecting to fetch dependencies successfully.
|
||||||
|
RUN go get -v github.com/ActiveState/tail
|
||||||
|
|
||||||
|
# expecting to run the test successfully.
|
||||||
|
RUN go test -v github.com/ActiveState/tail
|
||||||
|
|
Loading…
Reference in New Issue