Skip to content

Commit c3ebfd9

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

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.circleci/config.yml

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
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 package -X
18+
19+
- save_cache:
20+
paths:
21+
- ~/.m2
22+
key: openapi-diff-{{ checksum "pom.xml" }}
23+
24+
- run:
25+
name: Save test results
26+
command: |
27+
mkdir -p ~/test-results/junit/
28+
find . -type f -regex ".*/target/surefire-reports/.*xml" -exec cp {} ~/test-results/junit/ \;
29+
when: always
30+
- store_test_results:
31+
path: ~/test-results
32+
33+
- store_artifacts:
34+
path: core/target/openapi-diff-*-SNAPSHOT.jar
35+
- store_artifacts:
36+
path: cli/target/openapi-diff-*-SNAPSHOT.jar

0 commit comments

Comments
 (0)