Add travis ci and remove gitlab ci
This commit is contained in:
parent
e15454e193
commit
648bfda706
@ -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
15
.travis-ci.yml
Normal file
@ -0,0 +1,15 @@
|
||||
language: java
|
||||
|
||||
jdk:
|
||||
- openjdk8
|
||||
- oraclejdk8
|
||||
- oraclejdk9
|
||||
- oraclejdk11
|
||||
|
||||
cache:
|
||||
directories:
|
||||
- $HOME/.m2
|
||||
|
||||
install: /bin/true
|
||||
|
||||
script: ./mvnw verify -B
|
Loading…
Reference in New Issue
Block a user