forked from hpgrahsl/kafka-connect-mongodb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
34 lines (26 loc) · 804 Bytes
/
.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
sudo: required
services:
- docker
env:
DOCKER_COMPOSE_VERSION=1.25.0
addons:
hosts:
- zookeeper
- kafkabroker
- kafkaconnect
- schemaregistry
- mongodb
language: java
jdk:
- openjdk8
- openjdk11
before_install:
- sudo rm /usr/local/bin/docker-compose
- curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
- chmod +x docker-compose
- sudo mv docker-compose /usr/local/bin
script:
- mvn install -Dmaven.javadoc.skip=true -Dgpg.skip -B -V
after_success:
- mvn jacoco:prepare-agent test jacoco:report
- mvn com.gavinmogan:codacy-maven-plugin:coverage -DcoverageReportFile=target/site/jacoco/jacoco.xml -DprojectToken=$CODACY_PROJECT_TOKEN -DapiToken=$CODACY_API_TOKEN