summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 21e51f5ed27732516d3545aae70d90c4e8ed643c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
language: python

dist: xenial

python:
    - 2.7
    - 3.4
    - 3.7
    - 3.8
    - pypy2.7-6.0

env:
    - KAFKA_VERSION=0.8.2.2
    - KAFKA_VERSION=0.9.0.1
    - KAFKA_VERSION=0.10.2.2
    - KAFKA_VERSION=0.11.0.3
    - KAFKA_VERSION=1.1.1
    - KAFKA_VERSION=2.4.0
    - KAFKA_VERSION=2.5.0
    - KAFKA_VERSION=2.6.0

addons:
  apt:
    packages:
      - libsnappy-dev
      - libzstd-dev
      - openjdk-8-jdk

cache:
  directories:
    - $HOME/.cache/pip
    - servers/dist

before_install:
    - source travis_java_install.sh
    - ./build_integration.sh

install:
    - pip install tox coveralls
    - pip install .

script:
  - tox -e `if [ "$TRAVIS_PYTHON_VERSION" == "pypy2.7-6.0" ]; then echo pypy; else echo py${TRAVIS_PYTHON_VERSION/./}; fi`

after_success:
  - coveralls