summaryrefslogtreecommitdiff
path: root/ci/templates/.travis.yml
blob: 63eec830cb1fae53afec14f9be1f5642e6164157 (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
language: python
dist: xenial
env:
  global:
    - LD_PRELOAD=/lib/x86_64-linux-gnu/libSegFault.so
    - SEGFAULT_SIGNALS=all
matrix:
  include:
    - python: '3.6'
      env:
        - TOXENV=check
    - python: '3.6'
      env:
        - TOXENV=docs
{%- for env in tox_environments %}{{ '' }}
{% if env.startswith("pypy3") %}
    - python: 'pypy3.5-6.0'
{% elif env.startswith("pypy") %}
    - python: 'pypy2.7-6.0'
{% else %}
    - python: '{{ "{0[2]}.{0[3]}".format(env) }}'
{% endif %}
      env:
        - TOXENV={{ env }},report,coveralls,codecov
{%- endfor %}{{ '' }}
before_install:
  - python --version
  - uname -a
  - lsb_release -a
install:
  - pip install tox
  - virtualenv --version
  - easy_install --version
  - pip --version
  - tox --version
script:
  - tox -v
after_failure:
  - more .tox/log/* | cat
  - more .tox/*/log/* | cat
notifications:
  email:
    on_success: never
    on_failure: always