Skip to content

Commit

Permalink
introduce circleci caching for Gradle stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
aaschmid committed Jan 3, 2020
1 parent a289b77 commit 0fb728b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,21 @@ build-job: &build-job
steps:
- checkout

- restore_cache:
keys:
- gradle-repo-v1-{{ checksum "gradle/wrapper/gradle-wrapper.properties" }}
- gradle-repo-v1-

- run: ./gradlew --build-cache --scan build -Pjunit4Version=4.10 -PjunitJupiterVersion=5.5.0-RC2 -PskipSpotBugs
- run: ./gradlew --build-cache --scan build -Pjunit4Version=4.11 -PjunitJupiterVersion=5.5.0 -PskipSpotBugs
- run: ./gradlew --build-cache --scan build
- run: COVERALLS_REPO_TOKEN=Npp4tyTSCz0wSMZTJ81vXdVe1uw6WtRrC ./gradlew --build-cache --scan jacocoRootReport coveralls

- save_cache:
paths:
- ~/.gradle
key: gradle-repo-v1-{{ checksum "gradle/wrapper/gradle-wrapper.properties" }}

- run:
command: |
mkdir -p "/tmp/test-results"
Expand Down

0 comments on commit 0fb728b

Please sign in to comment.