forked from strimzi/strimzi-kafka-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
47 lines (47 loc) · 5.54 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
dist: xenial
sudo: required
language: java
notifications:
slack:
secure: c8TGIgFUIwQm/b4LKRjyqs+Lw4QCg2nd6lnwxjwsJKCJBUmJp5Pf+h8rznXJUglxytYWoLZQ7NFuFyt85L1RQQxK+rWeRn6mddEr5gR3vXJUvYycPAIWDGfVVkSsKdPVyxgbmlrSxbThB4lMHIeUUzE4ITTb9IyXxPcvTHSBPQVpED/MlJgYLucRKHpUbvNn8Bj+bKECDzbNoZTLc7gXDPIi3ejazLC2BYzxHfk52b7O18LhLMWVra8fccxlr1sBzprrzTKj10yDXrzuyv8YOcFTs/ru8wZyz+8hPk97KBk1wyEN7mFhFVPlTQP/cOMYUMM/iflWLV2iR0gmg7Y5LrBauR0CkLW30KOLR9p4B4Ygp5CuJPxrniYfKUXlB1KyUPLlDjMc8/CZ8Aunc4SniZqDg8Ow4vix/3PebGj+2rwjDL7KizMzxNSQa0ieMEUxgiWnPl5ZY8zXUkklHH+x7sB9aX3UpElnfREbq9d9w2Ak6EwvANTds4lPScieOY1gntvTCfcEethR3mMEY9vT4R9+ZXF54RKogbBFG89k+1J2Dv0rI8ZZTpwYIkNWHpxfIeKz4jekOm0lFJE/8/zWIgyZEZSqIi6GhfiFaEUzOKXG295VfDhE5KF+uzXVHeWPA8Hgy1aggCtXc/hBam3L8Ec2gaSEU547MNuLOMQkEhY=
jdk:
- openjdk8
- openjdk11
services:
- docker
before_install:
- if [ $(java -version 2>&1 | sed -E -n 's/.* version "([0-9]*).*$/\1/p') -gt 1 ] ; then export JAVA_VERSION_BUILD=$(java -version 2>&1 | sed -E -n 's/.* version "([0-9]*).*$/\1/p'); export JAVA_VERSION=$JAVA_VERSION_BUILD; else export JAVA_VERSION_BUILD=$(java -version 2>&1 | sed -E -n 's/.* version "([0-9]*)\.([0-9])\.([0-9]).*$/\1.\2/p'); export JAVA_VERSION=$(java -version 2>&1 | sed -E -n 's/.* version "([0-9]*)\.([0-9])\.([0-9]).*$/\1.\2.\3/p'); fi;
- gem install asciidoctor
- "./.travis/install_yq.sh"
install:
- mvn -q install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
before_script:
- "./.travis/setup-kubernetes.sh"
- "./.travis/setup-helm.sh"
script:
- "./.travis/build.sh"
cache:
directories:
- "$HOME/.m2"
env:
global:
- PULL_REQUEST=${TRAVIS_PULL_REQUEST}
- COMMIT=${TRAVIS_COMMIT::8}
- TAG=${TRAVIS_TAG:-latest}
- BRANCH=${TRAVIS_BRANCH:-master}
- DOCKER_ORG=strimzici
- DOCKER_REGISTRY=docker.io
- TEST_CLUSTER=minikube
- TEST_KUBECTL_VERSION=v1.16.0
- TEST_NSENTER_VERSION=2.32
- TEST_HELM2_VERSION=v2.16.3
- TEST_HELM3_VERSION=v3.2.0
- TEST_MINIKUBE_VERSION=v1.2.0
- STRIMZI_DEFAULT_LOG_LEVEL=DEBUG
- MVN_ARGS="-q -Dsurefire.rerunFailingTestsCount=5 -Dfailsafe.rerunFailingTestsCount=2"
- DOCKER_BUILD_ARGS="-q"
- secure: 4Y7PZWQEBGvGGyDyPYXY8ZbTWjD9O7kvrkKfXq0hfM7DmId7EfkGLXf6u/gp9/YWBW5cgl9svWjVwZmIHJq08MJ3x7FLyZz34++nnkSUbTkiUcPeSekO/RecALgkG/wh3WQZZwNTq6Fh61f2d1cn/2x9MwtXE1DjZIgTWOz/H8O4w/vEaxZYRCz/Flih87/QcFrQ9wooVf0if6r+UiFCSizgU+pxBgpO73Sg7x3uy3dB0ubzSpSThnoGevTAhfVzmoRO5FSKjGSF2/mvG14b5hUHZv3gm7Ch8D3crVco3Ima5SsD9V8jOK1jUmy6eVlrsuWPmahd7xoRJfUqavchct2tBMe44mgcb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