Unify the Rspec options into a single pattern
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
This commit is contained in:
parent
878a2ed011
commit
9a6ce792bb
2
.rspec
2
.rspec
|
@ -1 +1 @@
|
||||||
--color
|
--color --format RspecJunitFormatter --out junit_rspec.xml --format documentation
|
||||||
|
|
|
@ -175,7 +175,7 @@
|
||||||
<<: *com-except-triggers-docs-and-deps
|
<<: *com-except-triggers-docs-and-deps
|
||||||
retry: 1
|
retry: 1
|
||||||
script:
|
script:
|
||||||
- bundle exec rspec --color --format RspecJunitFormatter --out junit_rspec.xml --format documentation spec/lib
|
- bundle exec rspec spec/lib
|
||||||
artifacts:
|
artifacts:
|
||||||
reports: &spec_reports
|
reports: &spec_reports
|
||||||
junit: junit_rspec.xml
|
junit: junit_rspec.xml
|
||||||
|
@ -197,7 +197,7 @@
|
||||||
- cp knapsack/${DISTRO_NAME}_${DISTRO_VERSION}_main_rspec_report.json ${KNAPSACK_REPORT_PATH}.bak
|
- cp knapsack/${DISTRO_NAME}_${DISTRO_VERSION}_main_rspec_report.json ${KNAPSACK_REPORT_PATH}.bak
|
||||||
- rm -f knapsack/*.json
|
- rm -f knapsack/*.json
|
||||||
- mv ${KNAPSACK_REPORT_PATH}.bak ${KNAPSACK_REPORT_PATH}
|
- mv ${KNAPSACK_REPORT_PATH}.bak ${KNAPSACK_REPORT_PATH}
|
||||||
- bundle exec rake "knapsack:rspec[--color --format RspecJunitFormatter --out junit_rspec.xml --format documentation]"
|
- bundle exec rake knapsack:rspec
|
||||||
artifacts:
|
artifacts:
|
||||||
<<: *knapsack-artifacts
|
<<: *knapsack-artifacts
|
||||||
reports:
|
reports:
|
||||||
|
|
Loading…
Reference in New Issue