|
@@ -1,36 +0,0 @@
|
|
|
-dist: bionic
|
|
|
|
|
-language: go
|
|
|
|
|
-go:
|
|
|
|
|
-- 1.12.x
|
|
|
|
|
-- 1.13.x
|
|
|
|
|
-
|
|
|
|
|
-env:
|
|
|
|
|
- global:
|
|
|
|
|
- - KAFKA_PEERS=localhost:9091,localhost:9092,localhost:9093,localhost:9094,localhost:9095
|
|
|
|
|
- - TOXIPROXY_ADDR=http://localhost:8474
|
|
|
|
|
- - KAFKA_INSTALL_ROOT=/home/travis/kafka
|
|
|
|
|
- - KAFKA_HOSTNAME=localhost
|
|
|
|
|
- - DEBUG=true
|
|
|
|
|
- matrix:
|
|
|
|
|
- - KAFKA_VERSION=2.2.1 KAFKA_SCALA_VERSION=2.12
|
|
|
|
|
- - KAFKA_VERSION=2.3.0 KAFKA_SCALA_VERSION=2.12
|
|
|
|
|
-
|
|
|
|
|
-before_install:
|
|
|
|
|
-- export REPOSITORY_ROOT=${TRAVIS_BUILD_DIR}
|
|
|
|
|
-- vagrant/install_cluster.sh
|
|
|
|
|
-- vagrant/boot_cluster.sh
|
|
|
|
|
-- vagrant/create_topics.sh
|
|
|
|
|
-- vagrant/run_java_producer.sh
|
|
|
|
|
-
|
|
|
|
|
-before_script:
|
|
|
|
|
-- curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.23.1
|
|
|
|
|
-
|
|
|
|
|
-script:
|
|
|
|
|
-- make test
|
|
|
|
|
-- make lint
|
|
|
|
|
-
|
|
|
|
|
-after_success:
|
|
|
|
|
-- go tool cover -func coverage.txt
|
|
|
|
|
-- bash <(curl -s https://codecov.io/bash)
|
|
|
|
|
-
|
|
|
|
|
-after_script: vagrant/halt_cluster.sh
|
|
|