From 791412d21b4e6a2f05e743e8c9cfab75ec6fe96d Mon Sep 17 00:00:00 2001 From: wlan0 Date: Tue, 15 Jan 2019 21:39:30 +0000 Subject: [PATCH] run tests before build --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 954a80ff..432e0b63 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,5 @@ FROM golang:1.8 -RUN cat /etc/os-release - RUN apt-get update RUN wget http://http.us.debian.org/debian/pool/non-free/x/xml2rfc/xml2rfc_2.4.8-1_all.deb @@ -20,4 +18,7 @@ RUN mkdir -p /go/src/github.com/koki/short WORKDIR /go/src/github.com/koki/short COPY .* /go/src/github.com/koki/short/ +RUN /go/src/github.com/koki/short/scripts/test.sh + ENTRYPOINT ["scripts/ci.sh"] +