Skip to content

Commit

Permalink
Add tests for java11
Browse files Browse the repository at this point in the history
  • Loading branch information
BeatWolf committed Apr 12, 2019
1 parent c4474e4 commit b2e1f91
Showing 1 changed file with 36 additions and 1 deletion.
37 changes: 36 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,45 @@ jobs:
- store_artifacts:
path: ~/project/build/popjava.jar

java11:
docker:
- image: circleci/openjdk:11

environment:
- POP_DEBUG: true

steps:
- checkout
- restore_cache:
keys:
- pop-cache-{{ checksum "build.gradle" }}
- pop-cache-

- run:
name: Build POP-Java
command: ./gradlew --no-daemon clean fatJar -PossrhUsername=dummy -PossrhPassword=dummy

- run:
name: Test POP-Java
command: ./gradlew --no-daemon test -PossrhUsername=dummy -PossrhPassword=dummy

- save_cache:
key: pop-cache-{{ checksum "build.gradle" }}
when: always
paths:
- ~/.gradle

- store_test_results:
path: ~/project/build/test-results/
- store_artifacts:
path: ~/project/build/popjava.jar


workflows:
version: 2
build_8-9:
build_8-11:
jobs:
- java8
- java9
- java11

0 comments on commit b2e1f91

Please sign in to comment.