forked from aio-libs/aiokafka
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml_bak
152 lines (140 loc) · 4.18 KB
/
.travis.yml_bak
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
conditions: v1
language: python
branches:
only:
- master
- v0.2
- v0.4
- "/^v\\d+\\.\\d+\\.\\d+$/"
- "/^v\\d+\\.\\d+\\.\\d+\\.dev\\d*$/"
stages:
- &stage_sanity_test Flake and unit test
- &stage_functional Run main functional tests
- name: &stage_deploy Optionally run deploy to PyPi
# This will prevent deploy unless it's a tagged commit:
if: tag IS present
matrix:
fast_finish: true
include:
- stage: *stage_sanity_test
sudo: false
python: &mainstream_python 3.6
script:
- make ci-test-unit
- sudo: false
python: *mainstream_python
script:
- make flake
- sudo: false
python: *mainstream_python
script:
- make check-readme
# All Package build combinations for newest Kafka
- sudo: true
python: 3.6
services:
- docker
env: KAFKA_VERSION=2.4.0 SCALA_VERSION=2.12 PYTHONASYNCIODEBUG=1
script:
- make ci-test-all
- sudo: true
python: 3.6
services:
- docker
env: KAFKA_VERSION=2.4.0 SCALA_VERSION=2.12 PYTHONASYNCIODEBUG=1 AIOKAFKA_NO_EXTENSIONS=1
script:
- make ci-test-all
- sudo: true
python: 3.7
dist: xenial
services:
- docker
env: KAFKA_VERSION=2.4.0 SCALA_VERSION=2.12 PYTHONASYNCIODEBUG=1
script:
- make ci-test-all
- sudo: true
python: 3.7
dist: xenial
services:
- docker
env: KAFKA_VERSION=2.4.0 SCALA_VERSION=2.12 PYTHONASYNCIODEBUG=1 AIOKAFKA_NO_EXTENSIONS=1
script:
- make ci-test-all
# Older Kafka versions with mainstream python
- sudo: true
python: *mainstream_python
services:
- docker
env: KAFKA_VERSION=0.9.0.1 SCALA_VERSION=2.11 PYTHONASYNCIODEBUG=1
script:
- make ci-test-all
- sudo: true
python: *mainstream_python
services:
- docker
env: KAFKA_VERSION=0.10.2.1 SCALA_VERSION=2.11 PYTHONASYNCIODEBUG=1
script:
- make ci-test-all
- sudo: true
python: *mainstream_python
services:
- docker
env: KAFKA_VERSION=0.11.0.3 SCALA_VERSION=2.12 PYTHONASYNCIODEBUG=1
script:
- make ci-test-all
- sudo: true
python: *mainstream_python
services:
- docker
env: KAFKA_VERSION=1.1.1 SCALA_VERSION=2.12 PYTHONASYNCIODEBUG=1
script:
- make ci-test-all
- sudo: true
python: *mainstream_python
services:
- docker
env: KAFKA_VERSION=2.1.1 SCALA_VERSION=2.12 PYTHONASYNCIODEBUG=1
script:
- make ci-test-all
- sudo: true
python: *mainstream_python
services:
- docker
env: KAFKA_VERSION=2.2.2 SCALA_VERSION=2.12 PYTHONASYNCIODEBUG=1
script:
- make ci-test-all
- sudo: true
python: *mainstream_python
services:
- docker
env: KAFKA_VERSION=2.3.1 SCALA_VERSION=2.12 PYTHONASYNCIODEBUG=1
script:
- make ci-test-all
- stage: *stage_deploy
python: *mainstream_python
script: skip
deploy:
provider: pypi
user: aio-libs-bot
password:
secure: BSV2mPhyeyM8N7IdNtAlF11+pAQu9jdJQUOWWSfQBar+qgfFobkm23OZtvVZzl68U+cYzROlv6m66Xu9SN5MdPezrEXKKmcnzC/iREzHyB//Edrj+WsyqbmeqW3MGNgUu3bGq23Jw629jU3oGCm59cCa04Z/ZLhWHowH0UVVI/cbzfI5nc0nJkPSzYE2+L5DUjLGUgAA2+bygAWu2DpaUlVq5Pd+ApRSwvhg+qV2QHYCM6ypX5X0IjVNORQev9UuiKgAEFAeYcCgi0LB1DuasRVCf+yQeHa7xUGjtGS4PNWyK1jyyvJGYjV9XI1vUfnR5iKzKQVkBafqcCsW65H4D7m9cSVfU9P23XaHmwKAqYHG0LOyis/NT4cI5lRu7NhyTb6k3qex5jOGlIWrGGuA2Aer8jsMZ4msZDYlRksBUQD4TJpeoCxYikxuPx9ylE8cGle2qMHzdayM31rZ6AJSqZEMGFlWPIOsvTyBtO0yYFF+glP/cw1FUxDYTeBynEyjIH0PpMGwLY8rU4EZlQI4pU0aKEsziZt6AkkkGE7R3KMTWiOcqdprNp41RoW1Bqjrkf/j0iIzsvZv0aol0hfcfxg3jKnGagVZfmX9K3UQexDgIe5n/1P/dM91Zh3uMkrRMt2WYExd6nI5B3YzxTj1xzla7fYFixl6BudS9lhkmvg=
distributions: sdist
on:
tags: true
all_branches: true
addons:
apt:
packages:
- libsnappy-dev
- libzstd-dev
- krb5-user
install:
- pip install --upgrade pip setuptools wheel
- pip install -r requirements-ci.txt
- pip install codecov
- pip install -vv -Ue . # We set -vv to see compiler exceptions/warnings
after_success:
- codecov
cache: pip
before_cache:
- rm -f $HOME/.cache/pip/log/debug.log