diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index c833a9d..0000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -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 diff --git a/.travis-ci.yml b/.travis-ci.yml new file mode 100644 index 0000000..64632df --- /dev/null +++ b/.travis-ci.yml @@ -0,0 +1,15 @@ +language: java + +jdk: + - openjdk8 + - oraclejdk8 + - oraclejdk9 + - oraclejdk11 + +cache: + directories: + - $HOME/.m2 + +install: /bin/true + +script: ./mvnw verify -B