forked from Vauxoo/pre-commit-vauxoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
105 lines (105 loc) · 2.25 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
language: python
dist: xenial
virt: lxd
cache: false
env:
global:
- LD_PRELOAD=/lib/x86_64-linux-gnu/libSegFault.so
- SEGFAULT_SIGNALS=all
- LANG=en_US.UTF-8
matrix:
include:
- python: '3.6'
env:
- TOXENV=check
- python: '3.6'
env:
- TOXENV=docs
- os: osx
osx_image: xcode12.2
language: generic
env:
- TOXENV=py27-cover
- env:
- TOXENV=py27-cover,codecov,coveralls
python: '2.7'
- os: osx
osx_image: xcode12.2
language: generic
env:
- TOXENV=py27-nocov
- env:
- TOXENV=py27-nocov
python: '2.7'
- env:
- TOXENV=py36-cover,codecov,coveralls
python: '3.6'
- env:
- TOXENV=py36-nocov
python: '3.6'
- env:
- TOXENV=py37-cover,codecov,coveralls
python: '3.7'
- env:
- TOXENV=py37-nocov
python: '3.7'
- env:
- TOXENV=py38-cover,codecov,coveralls
python: '3.8'
- env:
- TOXENV=py38-nocov
python: '3.8'
- os: osx
osx_image: xcode12.2
language: generic
env:
- TOXENV=py39-cover
- env:
- TOXENV=py39-cover,codecov,coveralls
python: '3.9'
- os: osx
osx_image: xcode12.2
language: generic
env:
- TOXENV=py39-nocov
- env:
- TOXENV=py39-nocov
python: '3.9'
- env:
- TOXENV=pypy-cover,codecov,coveralls
python: 'pypy'
- env:
- TOXENV=pypy-nocov
python: 'pypy'
- env:
- TOXENV=pypy3-cover,codecov,coveralls
- TOXPYTHON=pypy3
python: 'pypy3'
- env:
- TOXENV=pypy3-nocov
- TOXPYTHON=pypy3
python: 'pypy3'
before_install:
- python --version
- uname -a
- lsb_release -a || true
- |
if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
[[ $TOXENV =~ py3 ]] && brew upgrade python
[[ $TOXENV =~ py2 ]] && brew install python@2
export PATH="/usr/local/opt/python/libexec/bin:${PATH}"
fi
install:
- python -mpip install --progress-bar=off tox -rci/requirements.txt
- virtualenv --version
- pip --version
- tox --version
script:
- tox -v
after_failure:
- cat .tox/log/*
- cat .tox/*/log/*
notifications:
email:
on_success: never
on_failure: always