mirror of
https://github.com/fhmq/hmq.git
synced 2026-09-01 15:24:53 +00:00
* modify * update * add acl * add feature * update dockerfile * add deploy * update * update * plugins * plugins * update * update * update * fixed * remove * fixed * add log * update * fixed * update * fix config * add http api * add http api * resp * add config for work chan * update * fixed * update * disable trace * fixed * change acl * fixed * fixed res * dd * dd * ddd * dd * update * fixed * update * add * fixed * update key * add log * update * format * update * update auth * update * update readme * added * update * fixed * fixed * fix * upade * update * update
38 lines
855 B
YAML
38 lines
855 B
YAML
dist: xenial
|
|
language: go
|
|
go:
|
|
- 1.11.x
|
|
- 1.12.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.1.1 KAFKA_SCALA_VERSION=2.12
|
|
- 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
|
|
|
|
install: make install_dependencies
|
|
|
|
script:
|
|
- make test
|
|
- make vet
|
|
- make errcheck
|
|
- if [[ "$TRAVIS_GO_VERSION" == 1.12* ]]; then make fmt; fi
|
|
|
|
after_success:
|
|
- bash <(curl -s https://codecov.io/bash)
|
|
|
|
after_script: vagrant/halt_cluster.sh
|