mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-12-25 18:17:34 +01:00
Improve circle configuration file
This commit is contained in:
parent
65a1438c47
commit
8722a3dbab
@ -22,16 +22,18 @@ jobs:
|
|||||||
path: target/surefire-reports
|
path: target/surefire-reports
|
||||||
- store_artifacts:
|
- store_artifacts:
|
||||||
path: target/*.jar
|
path: target/*.jar
|
||||||
build_and_test_jdk9:
|
build_and_test_jdk10:
|
||||||
working_directory: ~/authmereloaded-jdk9
|
working_directory: ~/authmereloaded-jdk10
|
||||||
docker:
|
docker:
|
||||||
- image: circleci/openjdk:9-jdk
|
- image: circleci/openjdk:10-jdk
|
||||||
environment:
|
environment:
|
||||||
MAVEN_OPTS: -Xmx2048m
|
MAVEN_OPTS: -Xmx2048m
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
key: authmereloaded-{{ checksum "pom.xml" }}
|
keys:
|
||||||
|
- authmereloaded-{{ checksum "pom.xml" }}
|
||||||
|
- authmereloaded-
|
||||||
- run: mvn -T 2 dependency:go-offline
|
- run: mvn -T 2 dependency:go-offline
|
||||||
- save_cache:
|
- save_cache:
|
||||||
paths:
|
paths:
|
||||||
@ -40,10 +42,11 @@ jobs:
|
|||||||
- run: mvn -T 2 package
|
- run: mvn -T 2 package
|
||||||
- store_test_results:
|
- store_test_results:
|
||||||
path: target/surefire-reports
|
path: target/surefire-reports
|
||||||
- run: cp ./target/*.jar $CIRCLE_ARTIFACTS
|
- store_artifacts:
|
||||||
|
path: target/*.jar
|
||||||
workflows:
|
workflows:
|
||||||
version: 2
|
version: 2
|
||||||
build_and_test:
|
build_and_test:
|
||||||
jobs:
|
jobs:
|
||||||
- build_and_test_jdk8
|
- build_and_test_jdk8
|
||||||
- build_and_test_jdk9
|
- build_and_test_jdk10
|
||||||
|
Loading…
Reference in New Issue
Block a user