瀏覽代碼

dbg coverals input

Umputun 5 年之前
父節點
當前提交
47ae5c77b7
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      Dockerfile

+ 2 - 1
Dockerfile

@@ -31,7 +31,8 @@ RUN mkdir -p target && /script/coverage.sh
 # submit coverage to coverals if COVERALLS_TOKEN in env
 RUN if [ -z "$COVERALLS_TOKEN" ] ; then \
     echo "coverall not enabled" ; \
-    else goveralls -coverprofile=.cover/cover.out -service=travis-ci -repotoken $COVERALLS_TOKEN || echo "coverall failed!"; fi
+    else goveralls -coverprofile=.cover/cover.out -service=travis-ci -repotoken $COVERALLS_TOKEN || echo "coverall failed!"; fi \
+    cat .cover/cover.out
 
 RUN \
     if [ -z "$TRAVIS" ] ; then \