summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 4c6a6467a040ce5433235145ed083a4a5ed336bf (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
60
61
language: python
python:
  - "2.7"
  - "pypy"
  - "3.4"
  - "3.5"
  - "3.6"

matrix:
  include:
    - python: "3.7"
      dist: xenial

    - name: Flake8
      dist: xenial
      python: "3.7"
      install:
        - pip install tox
      script: tox -e flake8

    - name: Distribution packages
      python: "3.6"
      install: false
      script: make travis-upload-dist

sudo: false
addons:
  apt:
    packages:
      - libevent-dev
cache:
  directories:
    - "$HOME/.cache/pip"
branches:
  only:
    - master
    - /^(?i:feature)-.*$/
jobs:
  fast_finish: true
#  allow_failures:
#    - python: 3.5
#      env: TOXENV=py35-django-dev-fix

script: sh ci/runtox.sh
install:
  - make
  - pip install codecov
before_script:
  - pip freeze
after_success:
  - codecov -e DJANGO

notifications:
  webhooks:
    urls:
      - https://zeus.ci/hooks/0b589ca4-1165-11e8-b03b-0a580a28023f/public/provider/travis/webhook
    on_success: always
    on_failure: always
    on_start: always
    on_cancel: always
    on_error: always