summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 61037f22854ae4d0fb607127e927d2c316679c04 (plain)
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
language: python
sudo: false
cache: pip

env:
  global:
    PYTHONUNBUFFERED=yes

stages:
  - test
  - lint
  

matrix:
  include:
    - python: 2.7
      env: TOXENV=2.7
    - python: 3.5
      env: TOXENV=3.5
    - python: 3.6
      env: TOXENV=3.6
    - python: 3.7
      env: TOXENV=3.7-linux
      sudo: true
      dist: xenial
      before_install: sudo apt-get update && sudo apt-get install libgnutls-dev
    - python: pypy2.7-7.1.1
      env: TOXENV=pypy
      dist: xenial
      before_install: sudo apt-get update && sudo apt-get install libgnutls-dev
    - python: pypy3.5-7.0
      env: TOXENV=pypy3
      dist: xenial
      before_install: sudo apt-get update && sudo apt-get install libgnutls-dev
    - 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

install:
    - pip --disable-pip-version-check install -U pip setuptools wheel | cat
    - pip --disable-pip-version-check 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:
  email: false
  irc:
    channels:
      - "chat.freenode.net#celery"
    on_success: change
    on_failure: change