trying to restore coveralls
This commit is contained in:
+2
-1
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user