-
Notifications
You must be signed in to change notification settings - Fork 212
/
.travis.yml
64 lines (61 loc) · 1.31 KB
/
.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
52
53
54
55
56
57
58
59
60
61
62
63
64
dist: xenial
language: python
cache: false
env:
global:
- LD_PRELOAD=/lib/x86_64-linux-gnu/libSegFault.so
- SEGFAULT_SIGNALS=all
stages:
- lint
- examples
- tests
matrix:
fast_finish: true
allow_failures:
- python: '3.8-dev'
jobs:
include:
- stage: lint
env: TOXENV=check
- env: TOXENV=docs
- stage: tests
{% for env in tox_environments %}
{%+ if not loop.first %}- {% else %} {% endif -%}
env: TOXENV={{ env }}
{% if env.startswith("pypy-") %}
python: 'pypy'
{% elif env.startswith("pypy3-") %}
python: 'pypy3'
{% elif env.startswith("py38-") %}
python: '3.8-dev'
{% else %}
python: '{{ "{0[2]}.{0[3]}".format(env) }}'
{% endif -%}
{% endfor %}
- stage: examples
{%- for example in ['src', 'adhoc'] %}{{ '' }}
{%+ if not loop.first %}- {% else %} {% endif -%}
python: '3.6'
script: cd $TARGET; tox -v
env:
- TARGET=examples/{{ example }}-layout
{%- 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