Added travis ci build script and removed source from docker container

This commit is contained in:
Oliver Sterzel 2015-09-21 09:23:43 +01:00
parent 65843ecafc
commit a2cb7af946
2 changed files with 9 additions and 0 deletions

8
.travis.yml Normal file
View file

@ -0,0 +1,8 @@
sudo: required
services:
- docker
script:
- make run-container
- make test

View file

@ -5,6 +5,7 @@ ADD . /go/src/github.com/osterzel/clamrest
WORKDIR /go/src/github.com/osterzel/clamrest
RUN go get
RUN go install github.com/osterzel/clamrest
RUN rm -rf /go/src/github.com/osterzel/clamrest
ENTRYPOINT /go/bin/clamrest