Skip to content

Commit

Permalink
Update CircleCI configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
joschi committed Mar 2, 2019
1 parent b218e3e commit cdf29d9
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .circleci/config.yml
Expand Up @@ -5,15 +5,21 @@ jobs:
environment:
JAVA_TOOL_OPTIONS: -Xms512m -Xmx2g
docker:
- image: circleci/openjdk:8u171-jdk
- image: adoptopenjdk/openjdk8:jdk8u202-b08
steps:
- checkout
- run: mvn test
- restore_cache:
key: dropwizard-{{ checksum "pom.xml" }}
- run: ./mvnw -B install
- save_cache:
paths:
- ~/.m2
key: dropwizard-{{ checksum "pom.xml" }}
- run:
name: Save test results
command: |
mkdir -p ~/junit/
find . -type f -regex ".*/target/surefire-reports/.*xml" -exec cp {} ~/junit/ \;
mv ~/dropwizard/*/target/surefire-reports/*.xml ~/junit/
when: always
- store_test_results:
path: ~/junit
Expand Down

0 comments on commit cdf29d9

Please sign in to comment.