Skip to content

Commit e562071

Browse files
authored
Merge pull request dianpoint#11 from dianpoint/circleci-project-setup
Circleci project setup
2 parents 89caf84 + ebca53d commit e562071

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.circleci/config.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Use the latest 2.1 version of CircleCI pipeline process engine.
2+
# See: https://circleci.com/docs/2.0/configuration-reference
3+
version: 2.1
4+
5+
# Define a job to be invoked later in a workflow.
6+
# See: https://circleci.com/docs/2.0/configuration-reference/#jobs
7+
jobs:
8+
maven-test-build:
9+
# Specify the execution environment. You can specify an image from Dockerhub or use one of our Convenience Images from CircleCI's Developer Hub.
10+
# See: https://circleci.com/docs/2.0/configuration-reference/#docker-machine-macos-windows-executor
11+
docker:
12+
- image: circleci/openjdk:8-jdk
13+
# Add steps to the job
14+
# See: https://circleci.com/docs/2.0/configuration-reference/#steps
15+
steps:
16+
- checkout
17+
- run:
18+
name: "maven test"
19+
command: "mvn -B test"
20+
21+
# Invoke jobs via workflows
22+
# See: https://circleci.com/docs/2.0/configuration-reference/#workflows
23+
workflows:
24+
build-and-test:
25+
jobs:
26+
- maven-test-build

0 commit comments

Comments
 (0)