Skip to content

Commit

Permalink
CircleCI: Collect JUnit test reports
Browse files Browse the repository at this point in the history
This makes it easier to quickly identify which tests failed in a build.
  • Loading branch information
Rohan Singh committed Nov 7, 2014
1 parent fec96c8 commit 544789b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions circle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,9 @@ case "$1" in

;;

post_test)
cp target/surefire-reports/*.xml $CI_REPORTS

;;

esac
3 changes: 3 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ test:
override:
- ./circle.sh test:
parallel: true
post:
- ./circle.sh post_test:
parallel: true

machine:
pre:
Expand Down

0 comments on commit 544789b

Please sign in to comment.