diff options
author | Dana Powers <dana.powers@rd.io> | 2014-08-12 21:19:48 -0700 |
---|---|---|
committer | Dana Powers <dana.powers@rd.io> | 2014-08-12 21:43:22 -0700 |
commit | 31e3c22656e064ee72f703f8f845a53a52b99cf7 (patch) | |
tree | 897d833bf02e57d2a271b83ef047c3752ac9602b /build_integration.sh | |
parent | 141e2db112fb454f2174b6a5c3b5212a3f1132ab (diff) | |
download | kafka-python-31e3c22656e064ee72f703f8f845a53a52b99cf7.tar.gz |
Use travis env vars to run kafka version tests in parallel
Diffstat (limited to 'build_integration.sh')
-rwxr-xr-x | build_integration.sh | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/build_integration.sh b/build_integration.sh index 70bf180..3b9b4a7 100755 --- a/build_integration.sh +++ b/build_integration.sh @@ -1,15 +1,15 @@ #!/bin/bash -#git submodule update --init -#(cd servers/0.8.0/kafka-src && ./sbt update package assembly-package-dependency) -#(cd servers/0.8.1/kafka-src && ./gradlew jar) - -SCALA_VERSION=2.8.0 -KAFKA_VERSIONS="0.8.0 0.8.1 0.8.1.1" +if [ -z "$SCALA_VERSION" ]; then + SCALA_VERSION=2.8.0 +fi +if [ -z "$KAFKA_VERSION" && -z "$TRAVIS" ]; then + KAFKA_VERSION="0.8.0 0.8.1" +fi pushd servers mkdir -p dist pushd dist - for kafka in $KAFKA_VERSIONS; do + for kafka in $KAFKA_VERSION; do echo "-------------------------------------" echo "Checking kafka binaries for v${kafka}" echo |