forked from overture-stack/microservice-template-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yml
41 lines (35 loc) · 894 Bytes
/
config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
version: 2
jobs:
test:
docker:
- image: circleci/openjdk:8-jdk
working_directory: ~/repo
environment:
# Customize the JVM maximum heap limit
MAVEN_OPTS: -Xmx3200m
steps:
- checkout
# Download and cache dependencies
- restore_cache:
keys:
- v1-dependencies-{{ checksum "pom.xml" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-
- run:
name: Fetch Maven Dependencies
command: mvn dependency:go-offline
- save_cache:
paths:
- ~/.m2
key: v1-dependencies-{{ checksum "pom.xml" }}
# Run Tests
- run:
name: Maven Test
command: |
mvn test \
-D auth.jwt.publicKeyUrl=$EGO_TEST_SERVER_KEY_URL
workflows:
version: 2
test:
jobs:
- test