trying to restore coveralls

This commit is contained in:
Umputun
2018-05-24 19:48:36 -05:00
parent 7037fb5396
commit 6766167bf1
+2 -1
View File
@@ -21,7 +21,8 @@ RUN mkdir -p target && /script/coverage.sh
RUN if [ "x$COVERALLS_TOKEN" = "x" ] ; then \
echo coverall not enabled ; \
else goveralls -coverprofile=.cover/cover.out -service=travis-ci -repotoken $COVERALLS_TOKEN; fi
else go get github.com/mattn/goveralls && \
goveralls -coverprofile=.cover/cover.out -service=travis-ci -repotoken $COVERALLS_TOKEN; fi
RUN go build -o remark -ldflags "-X main.revision=$(git rev-parse --abbrev-ref HEAD)-$(git describe --abbrev=7 --always --tags)-$(date +%Y%m%d-%H:%M:%S) -s -w" ./app