Merge pull request #2 from deviceinsight/feature/add-travis-ci-remove-gitlab-ci

Add travis ci and remove gitlab ci
This commit is contained in:
Paul Vorbach 2019-04-26 16:46:02 +02:00 committed by GitHub
commit 116eb98984
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 21 additions and 38 deletions

View File

@ -1,37 +0,0 @@
image: docker-proxy.device-insight.com/library/maven:alpine
variables:
DOCKER_DRIVER: overlay2
services:
- docker:stable-dind
mvn_test_job:
stage: build
script: >
mvn clean install -B -P gitlab
artifacts:
paths:
- kafka-health-check/target/*.log
when: on_failure
expire_in: 1 week
except:
- master
- develop
tags:
- dind
mvn_deploy_job:
stage: build
script: >
mvn clean deploy -B -P gitlab
artifacts:
paths:
- kafka-health-check/target/*.log
when: on_failure
expire_in: 1 week
only:
- master
- develop
tags:
- dind

15
.travis-ci.yml Normal file
View File

@ -0,0 +1,15 @@
language: java
jdk:
- openjdk8
- oraclejdk8
- oraclejdk9
- oraclejdk11
cache:
directories:
- $HOME/.m2
install: /bin/true
script: ./mvnw verify -B

View File

@ -1,5 +1,10 @@
= Kafka Health Check
:uri-build-status: https://travis-ci.org/deviceinsight/kafka-health-check
:img-build-status: https://api.travis-ci.org/deviceinsight/kafka-health-check.svg?branch=master
image:{img-build-status}[Build Status Badge,link={uri-build-status}]
This library provides a kafka health check for spring boot actuator.
== Usage
@ -11,7 +16,7 @@ Add the following dependency to your `pom.xml`
<dependency>
<groupId>com.deviceinsight.kafka</groupId>
<artifactId>kafka-health-check</artifactId>
<version>0.1.0-SNAPSHOT</version>
<version>1.0.0</version>
</dependency>
....