summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: bd5f63aef27f39ed307f155b72c4393a6a3c7195 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
language: python

python:
    - 2.6
    - 2.7
    - pypy

before_install:
    - git submodule update --init --recursive
    - sudo apt-get install libsnappy-dev
    - ./build_integration.sh

install:
    - 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:
    - 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`