forked from aio-libs/aiokafka
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
55 lines (47 loc) · 1.44 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
language: python
sudo: required
services:
- docker
branches:
only:
- master
- v0.2
- /^v\d+\.\d+\.\d+$/
python:
- 3.4
- 3.6
env:
matrix:
- KAFKA_VERSION=0.9.0.1 SCALA_VERSION=2.11 PYTHONASYNCIODEBUG=1
- KAFKA_VERSION=0.9.0.1 SCALA_VERSION=2.11 PYTHONASYNCIODEBUG=1 AIOKAFKA_NO_EXTENSIONS=1
- KAFKA_VERSION=0.10.2.1 SCALA_VERSION=2.11 PYTHONASYNCIODEBUG=1
- KAFKA_VERSION=0.10.2.1 SCALA_VERSION=2.11 PYTHONASYNCIODEBUG=1 AIOKAFKA_NO_EXTENSIONS=1
- KAFKA_VERSION=0.11.0.0 SCALA_VERSION=2.12 PYTHONASYNCIODEBUG=1
- KAFKA_VERSION=0.11.0.0 SCALA_VERSION=2.12 PYTHONASYNCIODEBUG=1 AIOKAFKA_NO_EXTENSIONS=1
before_install:
- sudo apt-get update
- sudo apt-get install -y libsnappy-dev
install:
- pip install --upgrade pip setuptools wheel
- pip install flake8
- pip install pytest pytest-cov pytest-catchlog docker-py
- pip install codecov
- pip install cython
- pip install python-snappy
- pip install lz4 xxhash
- pip install pathlib
- pip install -vv -Ue .
script:
- make cov FLAGS="-v"
after_success:
- codecov
deploy:
provider: pypi
user: andrew.svetlov
password:
secure: "o1Ws6S+Tc9880TEcDHMLEFbehGmQKvr7BTwoOuVMgZ4WCVt8CS96I2rjFzZIUIxeIwd/+Mgz37XEjbQy1slkOCh2aapCq361HM6L6c/3V6dvx0Kw2mRZzr/GwfgiuR6JersgSYnuu1WnwetQ2YPVhrXWFWDAA3oZs22R9CmWrvo="
distributions: "sdist"
on:
tags: true
all_branches: true
python: 3.6