Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Java Maven CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-java/ for more details
#
version: 2
jobs:
build:
docker:
# specify the version you desire here
- image: circleci/openjdk:8-jdk

# Specify service dependencies here if necessary
# CircleCI maintains a library of pre-built images
# documented at https://circleci.com/docs/2.0/circleci-images/
# - image: circleci/postgres:9.4

working_directory: ~/repo

environment:
# Customize the JVM maximum heap limit
MAVEN_OPTS: -Xmx3200m

steps:
- checkout

# Download and cache dependencies
- restore_cache:
keys:
- v1-dependencies-{{ checksum "pom.xml" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-

- run: mvn dependency:go-offline

- save_cache:
paths:
- ~/.m2
key: v1-dependencies-{{ checksum "pom.xml" }}

# run tests!
- run: mvn integration-test
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[![Build Status](https://travis-ci.org/qct-snippets/devops-demo.svg?branch=master)](https://travis-ci.org/qct-snippets/devops-demo)
[![CircleCI](https://circleci.com/gh/qct-snippets/devops-demo.svg?style=svg)](https://circleci.com/gh/qct-snippets/devops-demo)
[![codecov](https://codecov.io/gh/qct-snippets/devops-demo/branch/master/graph/badge.svg)](https://codecov.io/gh/qct-snippets/devops-demo)
[![Maintainability](https://api.codeclimate.com/v1/badges/c3324f274f39af189f16/maintainability)](https://codeclimate.com/github/qct-snippets/devops-demo/maintainability)
## Demo for Dev-Ops with github ecosystem

* travis
* travis
4 changes: 4 additions & 0 deletions shippable.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
language: java

jdk:
- oraclejdk8