mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-11-25 11:46:38 +01:00
53 lines
1.6 KiB
YAML
53 lines
1.6 KiB
YAML
version: 2
|
|
jobs:
|
|
build_and_test_jdk8:
|
|
working_directory: ~/authmereloaded-jdk8
|
|
docker:
|
|
- image: circleci/openjdk:8-jdk
|
|
environment:
|
|
MAVEN_OPTS: -Xmx2048m
|
|
steps:
|
|
- checkout
|
|
- restore_cache:
|
|
keys:
|
|
- authmereloaded-{{ checksum "pom.xml" }}
|
|
- authmereloaded-
|
|
- run: mvn -T 2 -B dependency:go-offline
|
|
- save_cache:
|
|
paths:
|
|
- ~/.m2
|
|
key: authmereloaded-{{ checksum "pom.xml" }}
|
|
- run: mvn -T 2 -B package
|
|
- store_test_results:
|
|
path: target/surefire-reports
|
|
- store_artifacts:
|
|
path: target/*.jar
|
|
build_and_test_jdk10:
|
|
working_directory: ~/authmereloaded-jdk10
|
|
docker:
|
|
- image: circleci/openjdk:10-jdk
|
|
environment:
|
|
MAVEN_OPTS: -Xmx2048m
|
|
steps:
|
|
- checkout
|
|
- restore_cache:
|
|
keys:
|
|
- authmereloaded-{{ checksum "pom.xml" }}
|
|
- authmereloaded-
|
|
- run: mvn -T 2 -B dependency:go-offline
|
|
- save_cache:
|
|
paths:
|
|
- ~/.m2
|
|
key: authmereloaded-{{ checksum "pom.xml" }}
|
|
- run: mvn -T 2 -B package
|
|
- store_test_results:
|
|
path: target/surefire-reports
|
|
- store_artifacts:
|
|
path: target/*.jar
|
|
workflows:
|
|
version: 2
|
|
build_and_test:
|
|
jobs:
|
|
- build_and_test_jdk8
|
|
- build_and_test_jdk10
|