forked from celery/kombu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
87 lines (81 loc) · 1.9 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
os: linux
dist: xenial
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: 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: pypy3.6-7.3.1
env: TOXENV=pypy3-unit
- python: '3.8'
env: TOXENV=flake8
stage: lint
- python: '3.8'
env: TOXENV=apicheck
stage: lint
- python: '3.8'
env: TOXENV=pydocstyle
stage: lint
- 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: pypy3.6-7.3.1
<<: *integration_job
env: TOXENV=pypy3-integration-py-amqp
- 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: pypy3.6-7.3.1
<<: *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