-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
76 lines (67 loc) · 1.74 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
os: linux
language: python
env:
global:
- LD_PRELOAD=/lib/x86_64-linux-gnu/libSegFault.so
- SEGFAULT_SIGNALS=all
- TOX_SKIP_MISSING_INTERPRETERS="False"
- PYPI_USERNAME=boromir674
- MUSIC_LIB_ROOT=music-lib
- TRAVIS=true
# in case you want to use semantic-release from travis specify two
# 'secure' items; one for PYPI_USERNAME and one for PYPI_PASSWORD
addons:
apt:
update: true
packages:
- ffmpeg
before_install:
- uname -a
- lsb_release -a
- python --version
- python -m pip install -U pip
- pip --version
- python -m pip install tox
- tox --version
- virtualenv --version
- easy_install --version
- ffmpeg -version
cache: pip
script: tox -v
jobs:
fail_fast: true
include:
- stage: run tests
env: TOXENV=clean,check
- stage: run tests
python: '2.7'
env: TOXENV=py27-cover,codecov
- stage: run tests
env: TOXENV=quality
- stage: run tests
python: '3.5'
env: TOXENV=py35-cover,codecov
- stage: run tests
python: '3.6'
env: TOXENV=py36-cover,codecov
- stage: run tests
python: '3.7'
env: TOXENV=py37-cover,codecov
allow_failures:
- env: TOXENV=quality
after_failure:
- more .tox/log/* | cat
- more .tox/*/log/* | cat
#- stage: semantic release
# if: branch = master AND type != pull_request
# before_install: skip
# install:
# - python -m pip install -U pip
# - pip install typing
# - pip install python-semantic-release
# script:
# - git config --global user.name "semantic-release (via TravisCI)"
# - git config --global user.email "semantic-release@travis"
# - semantic-release publish
# after_script: skip # optional, skip if you have a global after_script
# after_success: skip # optional, skip if you have a global after_success