Add test (and refactor them) for PR#15 (#18)

* Add test (and refactor them) for #15
* Update Dockerfile to support Go modules on Codeship
This commit is contained in:
Mickaël Rémond
2019-02-10 17:53:18 +01:00
committed by GitHub
parent 392d3a1ae7
commit ffcde39ba6
6 changed files with 92 additions and 44 deletions

View File

@@ -1,5 +1,5 @@
FROM golang:1.11
WORKDIR /go/src/gosrc.io/xmpp
WORKDIR /xmpp
RUN curl -o codecov.sh -s https://codecov.io/bash && chmod +x codecov.sh
COPY . ./
RUN go get -t ./...
# RUN go get -t ./...