forked from beetbox/beets
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
63 lines (55 loc) · 1.39 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
language: python
sudo: false
env:
global:
# Undocumented feature of nose-show-skipped.
NOSE_SHOW_SKIPPED: 1
matrix:
include:
- python: 2.7
env: {TOX_ENV: py27-cov, COVERAGE: 1}
- python: 3.3
env: {TOX_ENV: py33-test}
- python: 3.4
env: {TOX_ENV: py34-test}
- python: 3.5
env: {TOX_ENV: py35-test}
- python: pypy
env: {TOX_ENV: pypy-test}
- python: 2.7
env: {TOX_ENV: py27-flake8}
- python: 3.3
env: {TOX_ENV: py33-flake8}
- python: 2.7
env: {TOX_ENV: docs}
allow_failures:
- python: 3.3
- python: 3.4
- python: 3.5
# Non-Python dependencies.
addons:
apt:
packages:
- bash-completion
- mp3gain
# To install dependencies, tell tox to do everything but actually running the
# test.
install:
- travis_retry pip install tox sphinx
- travis_retry tox -e $TOX_ENV --notest
script: tox -e $TOX_ENV
# Report coverage to codecov.io.
before_install:
- "[ ! -z $COVERAGE ] && travis_retry pip install codecov || true"
after_success:
- "[ ! -z $COVERAGE ] && codecov || true"
cache:
pip: true
notifications:
irc:
channels:
- "irc.freenode.org#beets"
use_notice: true
skip_join: true
on_success: change
on_failure: always