beets/.travis.yml
2016-02-17 21:55:27 +01:00

43 lines
995 B
YAML

language: python
sudo: false
matrix:
include:
- python: 2.7
env: {TOX_ENV: py27cov, COVERAGE: 1}
- python: pypy
env: {TOX_ENV: pypy}
- python: 2.7
env: {TOX_ENV: docs, NONTEST: 1}
- python: 2.7
env: {TOX_ENV: flake8, NONTEST: 1}
# 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"
notifications:
irc:
channels:
- "irc.freenode.org#beets"
use_notice: true
skip_join: true
on_success: change
on_failure: always