Added travis ci build script and removed source from docker container
This commit is contained in:
parent
65843ecafc
commit
a2cb7af946
2 changed files with 9 additions and 0 deletions
8
.travis.yml
Normal file
8
.travis.yml
Normal file
|
@ -0,0 +1,8 @@
|
|||
sudo: required
|
||||
|
||||
services:
|
||||
- docker
|
||||
|
||||
script:
|
||||
- make run-container
|
||||
- make test
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue