-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #158 from wizzat/add_tests
Improve Tests, fix connection error timeout, other issues
- Loading branch information
Showing
37 changed files
with
2,730 additions
and
2,001 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
[submodule "kafka-src"] | ||
path = kafka-src | ||
url = git://github.com/apache/kafka.git | ||
[submodule "servers/0.8.0/kafka-src"] | ||
path = servers/0.8.0/kafka-src | ||
url = https://github.com/apache/kafka.git | ||
[submodule "servers/0.8.1/kafka-src"] | ||
path = servers/0.8.1/kafka-src | ||
url = https://github.com/apache/kafka.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,23 @@ | ||
language: python | ||
|
||
python: | ||
- 2.7 | ||
- 2.6 | ||
- 2.7 | ||
- pypy | ||
|
||
before_install: | ||
- git submodule update --init --recursive | ||
- cd kafka-src | ||
- ./sbt clean update package assembly-package-dependency | ||
- cd - | ||
- git submodule update --init --recursive | ||
- sudo apt-get install libsnappy-dev | ||
- ./build_integration.sh | ||
|
||
install: | ||
- pip install . | ||
# Deal with issue on Travis builders re: multiprocessing.Queue :( | ||
# See https://github.com/travis-ci/travis-cookbooks/issues/155 | ||
- sudo rm -rf /dev/shm && sudo ln -s /run/shm /dev/shm | ||
- pip install tox | ||
- pip install . | ||
# Deal with issue on Travis builders re: multiprocessing.Queue :( | ||
# See https://github.com/travis-ci/travis-cookbooks/issues/155 | ||
- sudo rm -rf /dev/shm && sudo ln -s /run/shm /dev/shm | ||
|
||
script: | ||
- python -m test.test_unit | ||
- python -m test.test_integration | ||
- tox -e `./travis_selector.sh $TRAVIS_PYTHON_VERSION` | ||
- KAFKA_VERSION=0.8.0 tox -e `./travis_selector.sh $TRAVIS_PYTHON_VERSION` | ||
- KAFKA_VERSION=0.8.1 tox -e `./travis_selector.sh $TRAVIS_PYTHON_VERSION` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.