diff options
author | Dana Powers <dana.powers@gmail.com> | 2014-05-07 00:04:04 -0700 |
---|---|---|
committer | Dana Powers <dana.powers@gmail.com> | 2014-05-07 00:04:04 -0700 |
commit | b47bf781eb0e96c3fef59cbe554325155062e129 (patch) | |
tree | c74db904c37ba1e70dab6dd2c78f4c1a4abd173f /.travis.yml | |
parent | 3b18043821f37242bde2b186684fa05d36c61921 (diff) | |
parent | b81bf5f69e24b0d0106693b6e47906669873ec18 (diff) | |
download | kafka-python-b47bf781eb0e96c3fef59cbe554325155062e129.tar.gz |
Merge pull request #158 from wizzat/add_tests
Improve Tests, fix connection error timeout, other issues
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/.travis.yml b/.travis.yml index f7d0ed4..bd5f63a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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` |