diff --git a/.travis.yml b/.travis.yml index eb54a0ddc..b7f7874e1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,9 +11,9 @@ env: - KAFKA_HOSTNAME=localhost - DEBUG=true matrix: - - KAFKA_VERSION=1.1.1 - - KAFKA_VERSION=2.0.1 - - KAFKA_VERSION=2.1.0 + - KAFKA_VERSION=1.1.1 KAFKA_SCALA_VERSION=2.11 + - KAFKA_VERSION=2.0.1 KAFKA_SCALA_VERSION=2.12 + - KAFKA_VERSION=2.1.0 KAFKA_SCALA_VERSION=2.12 before_install: - export REPOSITORY_ROOT=${TRAVIS_BUILD_DIR} diff --git a/vagrant/install_cluster.sh b/vagrant/install_cluster.sh index 295db830b..ed9099cf3 100755 --- a/vagrant/install_cluster.sh +++ b/vagrant/install_cluster.sh @@ -6,7 +6,7 @@ TOXIPROXY_VERSION=2.1.3 mkdir -p ${KAFKA_INSTALL_ROOT} if [ ! -f ${KAFKA_INSTALL_ROOT}/kafka-${KAFKA_VERSION}.tgz ]; then - wget --quiet https://www-us.apache.org/dist/kafka/${KAFKA_VERSION}/kafka_2.11-${KAFKA_VERSION}.tgz -O ${KAFKA_INSTALL_ROOT}/kafka-${KAFKA_VERSION}.tgz + wget --quiet https://www-us.apache.org/dist/kafka/${KAFKA_VERSION}/kafka_${KAFKA_SCALA_VERSION}-${KAFKA_VERSION}.tgz -O ${KAFKA_INSTALL_ROOT}/kafka-${KAFKA_VERSION}.tgz fi if [ ! -f ${KAFKA_INSTALL_ROOT}/toxiproxy-${TOXIPROXY_VERSION} ]; then wget --quiet https://github.com/Shopify/toxiproxy/releases/download/v${TOXIPROXY_VERSION}/toxiproxy-server-linux-amd64 -O ${KAFKA_INSTALL_ROOT}/toxiproxy-${TOXIPROXY_VERSION} diff --git a/vagrant/provision.sh b/vagrant/provision.sh index 13a8d5623..dc1b5db92 100755 --- a/vagrant/provision.sh +++ b/vagrant/provision.sh @@ -7,7 +7,8 @@ yes | apt-get install default-jre export KAFKA_INSTALL_ROOT=/opt export KAFKA_HOSTNAME=192.168.100.67 -export KAFKA_VERSION=1.0.0 +export KAFKA_VERSION=1.0.2 +export KAFKA_SCALA_VERSION=2.11 export REPOSITORY_ROOT=/vagrant sh /vagrant/vagrant/install_cluster.sh