Skip to content

Commit aeb803b

Browse files
committed
Revert "Remove Circle CI configuration"
This reverts commit cef8549.
1 parent 726740a commit aeb803b

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

.circleci/config.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
version: 2
2+
jobs:
3+
build:
4+
5+
working_directory: ~/openapi-diff
6+
7+
docker:
8+
- image: circleci/openjdk:8-jdk-node-browsers
9+
10+
steps:
11+
12+
- checkout
13+
14+
- restore_cache:
15+
key: openapi-diff-{{ checksum "pom.xml" }}
16+
17+
- run: ./mvnw dependency:go-offline
18+
19+
- save_cache:
20+
paths:
21+
- ~/.m2
22+
key: openapi-diff-{{ checksum "pom.xml" }}
23+
24+
- run: ./mvnw package -X
25+
26+
- run:
27+
name: Save test results
28+
command: |
29+
mkdir -p ~/test-results/junit/
30+
find . -type f -regex ".*/target/surefire-reports/.*xml" -exec cp {} ~/test-results/junit/ \;
31+
when: always
32+
- store_test_results:
33+
path: ~/test-results
34+
35+
- store_artifacts:
36+
path: core/target/openapi-diff-*-SNAPSHOT.jar
37+
- store_artifacts:
38+
path: cli/target/openapi-diff-*-SNAPSHOT.jar

0 commit comments

Comments
 (0)