Add travis ci and remove gitlab ci

This commit is contained in:
Emanuel Zienecker 2019-04-26 14:32:35 +02:00
parent e15454e193
commit 648bfda706
2 changed files with 15 additions and 37 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