ddd-by-examples--library
34 行
754 B
YAML
34 行
754 B
YAML
version: 2
|
|
jobs:
|
|
build:
|
|
docker:
|
|
- image: circleci/openjdk:11-jdk-stretch
|
|
steps:
|
|
- checkout
|
|
|
|
- restore_cache:
|
|
key: maven-dependencies-{{ checksum "pom.xml" }}
|
|
|
|
- run:
|
|
name: Downloading dependencies
|
|
command: ./mvnw dependency:go-offline
|
|
|
|
- save_cache:
|
|
paths:
|
|
- ~/.m2
|
|
key: maven-dependencies-{{ checksum "pom.xml" }}
|
|
|
|
- run:
|
|
name: Building and testing
|
|
command: ./mvnw verify
|
|
|
|
- store_test_results:
|
|
path: target/surefire-reports
|
|
|
|
- store_test_results:
|
|
path: target/failsafe-reports
|
|
|
|
- run:
|
|
name: Uploading coverage reports
|
|
command: bash <(curl -s https://codecov.io/bash)
|