forked from celery/kombu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
113 lines (107 loc) · 2.61 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
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
os: linux
language: python
cache: pip
addons:
apt:
update: true
packages:
- libgnutls-dev
env:
global:
PYTHONUNBUFFERED=yes
matrix:
- MATRIX_TOXENV=unit
stages:
- test
- integration
- lint
_integration_job: &integration_job
script:
- tox -v -- -v
services:
- docker
stage: integration
jobs:
include:
- python: 2.7
env: TOXENV=2.7-unit
- python: 3.5
env: TOXENV=3.5-unit
- python: 3.6
env: TOXENV=3.6-unit
- python: 3.7
env: TOXENV=3.7-linux-unit
- python: 3.8
env: TOXENV=3.8-linux-unit
- python: pypy2.7-7.1.1
env: TOXENV=pypy-unit
dist: xenial
- python: pypy3.5-7.0
env: TOXENV=pypy3-unit
dist: xenial
- env: TOXENV=flake8
stage: lint
- env: TOXENV=flakeplus
stage: lint
- python: '3.6'
env: TOXENV=apicheck
stage: lint
- python: '3.6'
env: TOXENV=pydocstyle
stage: lint
- python: 2.7
<<: *integration_job
env: TOXENV=2.7-integration-py-amqp
- python: 3.5
<<: *integration_job
env: TOXENV=3.5-integration-py-amqp
- python: 3.6
<<: *integration_job
env: TOXENV=3.6-integration-py-amqp
- python: 3.7
<<: *integration_job
env: TOXENV=3.7-linux-integration-py-amqp
- python: 3.8
<<: *integration_job
env: TOXENV=3.8-linux-integration-py-amqp
- python: pypy2.7-7.1.1
<<: *integration_job
env: TOXENV=pypy-integration-py-amqp
- python: pypy3.5-7.0
<<: *integration_job
env: TOXENV=pypy3-integration-py-amqp
- python: 2.7
<<: *integration_job
env: TOXENV=2.7-integration-redis
- python: 3.5
<<: *integration_job
env: TOXENV=3.5-integration-redis
- python: 3.6
<<: *integration_job
env: TOXENV=3.6-integration-redis
- python: 3.7
<<: *integration_job
env: TOXENV=3.7-linux-integration-redis
- python: 3.8
<<: *integration_job
env: TOXENV=3.8-linux-integration-redis
- python: pypy2.7-7.1.1
<<: *integration_job
env: TOXENV=pypy-integration-redis
- python: pypy3.5-7.0
<<: *integration_job
env: TOXENV=pypy3-integration-redis
install:
- pip --disable-pip-version-check install -U pip setuptools wheel | cat
- pip --disable-pip-version-check install -U tox tox-docker | cat
script: tox -v -- -v
after_success:
- .tox/$TRAVIS_PYTHON_VERSION/bin/coverage xml
- .tox/$TRAVIS_PYTHON_VERSION/bin/codecov -e TOXENV
notifications:
email: false
irc:
channels:
- "chat.freenode.net#celery"
on_success: change
on_failure: change