forked from celery/kombu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
51 lines (47 loc) · 1012 Bytes
/
.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: false
cache: pip
env:
global:
PYTHONUNBUFFERED=yes
stages:
- lint
- test
matrix:
include:
- python: 2.7
env: TOXENV=2.7
- python: 3.4
env: TOXENV=3.4
- python: 3.5
env: TOXENV=3.5
- python: 3.6
env: TOXENV=3.6
- python: 3.7
env: TOXENV=3.7
sudo: true
dist: xenial
before_install: sudo apt-get update && sudo apt-get install libgnutls-dev
- python: pypy
env: TOXENV=pypy
- env: TOXENV=flake8
stage: lint
- env: TOXENV=flakeplus
stage: lint
- env: TOXENV=apicheck
stage: lint
- env: TOXENV=pydocstyle
stage: lint
install:
- pip install -U pip setuptools wheel | cat
- pip install -U tox | cat
script: tox -v -- -v
after_success:
- .tox/$TRAVIS_PYTHON_VERSION/bin/coverage xml
- .tox/$TRAVIS_PYTHON_VERSION/bin/codecov -e TOXENV
notifications:
irc:
channels:
- "chat.freenode.net#celery"
on_success: change
on_failure: change