golangのテスト結果をJUnit Report形式で出力して、CircleCIで表示

More than 1 year has passed since last update.

test:
  override:
    - go get -u github.com/jstemmer/go-junit-report
    - mkdir -p $CIRCLE_TEST_REPORTS/golang
    - |
      { go test -v $(go list ./...|grep -v vendor); echo $? > /tmp/status;} | go-junit-report > $CIRCLE_TEST_REPORTS/golang/junit.xml;
      exit `cat /tmp/status`;

これでOK

カテゴリ:Default 時間:2016-02-03 人気:0
この記事では、 Go言語 CircleCI golang

関連記事

Copyright (C) socapnw.com, All Rights Reserved.

Socapnw All Rights Reserved.

processed in 1.942 (s). 9 q(s)