/
config.yml
33 lines (33 loc) · 1 KB
/
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
version: 2
jobs:
build:
machine: true
working_directory: ~/eventuate-examples-java-customers-and-orders
steps:
- checkout
- restore_cache:
key: eventuate-examples-java-customers-and-orders-{{ checksum "build.gradle" }}
- run:
command: |
export TERM=dumb
cd common-contracts
./mvnw install
cd ..
./gradlew testClasses
- save_cache:
paths:
- ~/.gradle
- ~/.m2
key: eventuate-examples-java-customers-and-orders-{{ checksum "build.gradle" }}
- run: TERM=dumb ./build-and-test-all-eventuate-local-mysql.sh
- run: TERM=dumb ./build-and-test-all.sh
- run:
name: Save test results
command: |
mkdir -p ~/junit/
find . -type f -regex ".*/build/test-results/.*xml" -exec cp {} ~/junit/ \;
when: always
- store_test_results:
path: ~/junit
- store_artifacts:
path: ~/junit