.travis.yml 697 B

123456789101112131415161718192021222324252627282930313233343536
  1. language: go
  2. go:
  3. - 1.8.x
  4. - 1.9.x
  5. - 1.10.x
  6. env:
  7. global:
  8. - KAFKA_PEERS=localhost:9091,localhost:9092,localhost:9093,localhost:9094,localhost:9095
  9. - TOXIPROXY_ADDR=http://localhost:8474
  10. - KAFKA_INSTALL_ROOT=/home/travis/kafka
  11. - KAFKA_HOSTNAME=localhost
  12. - DEBUG=true
  13. matrix:
  14. - KAFKA_VERSION=0.11.0.2
  15. - KAFKA_VERSION=1.0.0
  16. - KAFKA_VERSION=1.1.0
  17. before_install:
  18. - export REPOSITORY_ROOT=${TRAVIS_BUILD_DIR}
  19. - vagrant/install_cluster.sh
  20. - vagrant/boot_cluster.sh
  21. - vagrant/create_topics.sh
  22. install: make install_dependencies
  23. script:
  24. - make test
  25. - make vet
  26. - make errcheck
  27. - make fmt
  28. after_success:
  29. - bash <(curl -s https://codecov.io/bash)
  30. after_script: vagrant/halt_cluster.sh