.travis.yml 709 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. language: go
  2. go:
  3. - 1.3.3
  4. - 1.4.2
  5. - 1.5
  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.8.1.1
  15. - KAFKA_VERSION=0.8.2.1
  16. before_install:
  17. - export REPOSITORY_ROOT=${TRAVIS_BUILD_DIR}
  18. - vagrant/install_cluster.sh
  19. - vagrant/boot_cluster.sh
  20. - vagrant/create_topics.sh
  21. install:
  22. - make install_dependencies
  23. script:
  24. - make test
  25. - make vet
  26. - make errcheck
  27. - make fmt
  28. matrix:
  29. include:
  30. - go: tip
  31. env: KAFKA_VERSION=0.8.2.1
  32. allow_failures:
  33. - go: tip
  34. fast_finish: true
  35. sudo: false