.circleci/config.yml in qiita_trend-0.2.8 vs .circleci/config.yml in qiita_trend-0.2.9
- old
+ new
@@ -60,10 +60,15 @@
--format progress \
--format RspecJunitFormatter \
--out test_results/rspec.xml \
--format progress \
$TEST_FILES
+ # create document
+ - run:
+ name: create document
+ command: |
+ bundle exec yard
# collect reports
- store_test_results:
path: test_results
- store_artifacts:
# テスト結果をtest-resultsディレクトリに吐き出す
@@ -71,9 +76,13 @@
destination: test-results
- store_artifacts:
# カバレッジの結果をcoverage-resultsディレクトリに吐き出す
path: coverage
destination: coverage-results
+ - store_artifacts:
+ # ドキュメントの結果をyard-resultsディレクトリに吐き出す
+ path: ./doc
+ destination: yard-results
# deploy RubyGems
- deploy:
command: |
if [ "${CIRCLE_BRANCH}" == "master" ]; then
mkdir ~/.gem