forked from aio-libs/aiokafka
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
51 lines (43 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
42
43
44
45
46
47
48
49
50
51
language: python
sudo: required
services:
- docker
branches:
only:
- master
- /^v\d+\.\d+\.\d+$/
python:
- 3.3
- 3.4
- 3.5
- 3.6
env:
matrix:
- KAFKA_VERSION=0.9.0.1 SCALA_VERSION=2.11 PYTHONASYNCIODEBUG=1
- KAFKA_VERSION=0.10.0.0 SCALA_VERSION=2.11 PYTHONASYNCIODEBUG=1
- KAFKA_VERSION=0.10.1.0 SCALA_VERSION=2.11 PYTHONASYNCIODEBUG=1
before_install:
- sudo apt-get update
- sudo apt-get install -y libsnappy-dev
install:
- pip install flake8
- pip install pytest pytest-cov pytest-catchlog docker-py
- pip install codecov
- pip install python-snappy
- pip install lz4tools xxhash
- pip install pathlib
- pip install .
script:
- make cov
after_success:
- codecov
deploy:
provider: pypi
user: andrew.svetlov
password:
secure: bNequAaWVcBKr296rptqi4O1ylONydRydCvUDkohQf4Oa73jx7wNXkBHPcRGlKpCMoU8zcJTh1xkEALW5eLyRgNRwvL3VJEhiy1TZCPByPKLM+uwrrwSP/G5TcSgC4nCBlUHAhun+l85CW/acOJeYFyKxiNeLHAO2thHFYdwWNI=
distributions: "sdist"
on:
tags: true
all_branches: true
python: 3.5