summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: fbf3c17bc69426748829f9741829ccf6d8accd25 (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
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: pypy
      env: TOXENV=pypy
    - python: 3.6
      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: 3.6
      env: TOXENV=isort
      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