tet123/.travis.yml

63 lines
2.8 KiB
YAML
Raw Normal View History

2016-01-25 20:31:50 +01:00
language: java
2017-05-31 10:47:33 +02:00
cache:
directories:
- $HOME/.m2/repository
env:
- MAVEN_CLI: '"clean install -B -pl debezium-connector-sqlserver -am -Passembly -Dformat.formatter.goal=validate -Dformat.imports.goal=check"'
- MAVEN_CLI: '"clean install -B -pl debezium-connector-mysql -am -Passembly -Dformat.formatter.goal=validate -Dformat.imports.goal=check"'
- MAVEN_CLI: '"clean install -B -pl debezium-connector-postgres -am -Passembly -Dformat.formatter.goal=validate -Dformat.imports.goal=check -Dversion.postgres.server=9.6-devel"'
- MAVEN_CLI: '"clean install -B -pl debezium-connector-postgres -am -Passembly,wal2json-decoder -Dformat.formatter.goal=validate -Dformat.imports.goal=check -Dversion.postgres.server=9.6-devel"'
- MAVEN_CLI: '"clean install -B -pl debezium-connector-postgres -am -Passembly,pgoutput-decoder,postgres-10 -Ddebezium.test.records.waittime=5 -Dformat.formatter.goal=validate -Dformat.imports.goal=check -Dversion.postgres.server=10-devel"'
- MAVEN_CLI: '"clean install -B -pl debezium-connector-mongodb -am -Passembly -Dformat.formatter.goal=validate -Dformat.imports.goal=check"'
- MAVEN_CLI: '"clean install -B -pl debezium-connector-mongodb -am -Passembly -Dformat.formatter.goal=validate -Dformat.imports.goal=check -Dversion.mongo.server=4.0"'
- MAVEN_CLI: '"clean install -B -pl debezium-quarkus-outbox -am -amd -Passembly -Dformat.formatter.goal=validate -Dformat.imports.goal=check"'
2016-01-25 20:58:23 +01:00
sudo: required
# Xenail does not support OracleJDK8
# To keep using OracleJDK8, we must explicitly specify to run builds on Trusty.
dist: trusty
2016-01-25 20:31:50 +01:00
jdk:
2019-11-25 08:20:27 +01:00
- oraclejdk8
2016-01-25 20:58:23 +01:00
2016-01-25 20:31:50 +01:00
services:
- docker
2016-01-25 20:58:23 +01:00
# Do this to avoid log limit problems
git:
quiet: true
# First stop MySQL and PostgreSQL that run by default (see DBZ-163). Then check Docker status. Finally,
2020-01-16 16:24:40 +01:00
# install Maven 3.6.3, since the Jolokia Maven plugin requires 3.2.1 or later but Travis current runs 3.1.x
2016-01-25 20:58:23 +01:00
before_install:
- sudo service mysql-5.6 stop || sudo service mysql stop
- sudo /etc/init.d/postgresql stop
- docker -v
2016-01-25 20:58:23 +01:00
- docker ps -a
2020-01-16 16:24:40 +01:00
- wget https://archive.apache.org/dist/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.zip
- unzip -qq apache-maven-3.6.3-bin.zip
- export M2_HOME=$PWD/apache-maven-3.6.3
2016-01-25 20:58:23 +01:00
- export PATH=$M2_HOME/bin:$PATH
- mvn -version
# By default Travis will install dependencies before it runs a build, and with Maven projects that
# means running an install build without tests. We don't need to do this, and it actually causes problems.
# So skip it...
install: true
2016-01-25 20:58:23 +01:00
after_install:
- docker ps -a
script:
- "mvn $MAVEN_CLI"
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/44c51b6da8c2bec32645
on_success: always # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
2017-05-31 10:47:33 +02:00
on_start: never # options: [always|never|change] default: always