forked from Parsely/pykafka
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
41 lines (34 loc) · 1.07 KB
/
.travis.yml
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
language: python
sudo: false
addons:
apt:
packages:
- libev-dev
- libsnappy-dev
matrix:
include:
- python: 2.7
env: TOXENV=py27 BROKERS=localhost:9092,localhost:9093,localhost:9094 ZOOKEEPER=localhost:2181 KAFKA_BIN=/home/travis/kafka-bin
- python: 3.4
env: TOXENV=py34 BROKERS=localhost:9092,localhost:9093,localhost:9094 ZOOKEEPER=localhost:2181 KAFKA_BIN=/home/travis/kafka-bin
- python: 3.5
env: TOXENV=py35 BROKERS=localhost:9092,localhost:9093,localhost:9094 ZOOKEEPER=localhost:2181 KAFKA_BIN=/home/travis/kafka-bin
- python: pypy
env: TOXENV=pypy BROKERS=localhost:9092,localhost:9093,localhost:9094 ZOOKEEPER=localhost:2181 KAFKA_BIN=/home/travis/kafka-bin
notifications:
email:
install:
- pip install codecov kazoo tox testinstances
before_script:
- "python -m pykafka.test.kafka_instance 3 --download-dir /home/travis/kafka-bin &"
- "sleep 10"
script:
- tox
# Calculate coverage on success
after_success:
- codecov
branches:
only:
- master