Skip to content

Commit ebca53d

Browse files
committed
👷 add circleci workflows
1 parent 98a01c0 commit ebca53d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.circleci/config.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,22 @@ version: 2.1
55
# Define a job to be invoked later in a workflow.
66
# See: https://circleci.com/docs/2.0/configuration-reference/#jobs
77
jobs:
8-
say-hello:
8+
maven-test-build:
99
# Specify the execution environment. You can specify an image from Dockerhub or use one of our Convenience Images from CircleCI's Developer Hub.
1010
# See: https://circleci.com/docs/2.0/configuration-reference/#docker-machine-macos-windows-executor
1111
docker:
12-
- image: cimg/base:stable
12+
- image: circleci/openjdk:8-jdk
1313
# Add steps to the job
1414
# See: https://circleci.com/docs/2.0/configuration-reference/#steps
1515
steps:
1616
- checkout
1717
- run:
18-
name: "Say hello"
19-
command: "echo Hello, World!"
18+
name: "maven test"
19+
command: "mvn -B test"
2020

2121
# Invoke jobs via workflows
2222
# See: https://circleci.com/docs/2.0/configuration-reference/#workflows
2323
workflows:
24-
say-hello-workflow:
24+
build-and-test:
2525
jobs:
26-
- say-hello
26+
- maven-test-build

0 commit comments

Comments
 (0)