Skip to content

Commit 40fc488

Browse files
committed
Add .circleci/config.yml
1 parent c24a940 commit 40fc488

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.circleci/config.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
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+
# Below is the definition of your job to build and test your app, you can rename and customize it as you want.
9+
build-and-test:
10+
# These next lines define a Docker executor: https://circleci.com/docs/2.0/executor-types/
11+
# You can specify an image from Dockerhub or use one of our Convenience Images from CircleCI's Developer Hub.
12+
# Be sure to update the Docker image tag below to openjdk version of your application.
13+
# A list of available CircleCI Docker Convenience Images are available here: https://circleci.com/developer/images/image/cimg/openjdk
14+
docker:
15+
- image: cimg/openjdk:11.0
16+
# Add steps to the job
17+
# See: https://circleci.com/docs/2.0/configuration-reference/#steps
18+
steps:
19+
# Checkout the code as the first step.
20+
- checkout
21+
# Use mvn clean and package as the standard maven build phase
22+
- run:
23+
name: Build
24+
command: mvn -B -DskipTests clean package
25+
# Then run your tests!
26+
- run:
27+
name: Test
28+
command: mvn test
29+
30+
# Invoke jobs via workflows
31+
# See: https://circleci.com/docs/2.0/configuration-reference/#workflows
32+
workflows:
33+
sample: # This is the name of the workflow, feel free to change it to better match your workflow.
34+
# Inside the workflow, you define the jobs you want to run.
35+
jobs:
36+
- build-and-test

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy