mirror of
https://github.com/beetbox/beets.git
synced 2025-12-15 21:14:19 +01:00
61 lines
1.4 KiB
YAML
61 lines
1.4 KiB
YAML
dist: trusty
|
|
sudo: required
|
|
language: python
|
|
|
|
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.4
|
|
env: {TOX_ENV: py34-test}
|
|
- python: 3.5
|
|
env: {TOX_ENV: py35-test}
|
|
# - python: pypy
|
|
# - env: {TOX_ENV: pypy-test}
|
|
- python: 3.4
|
|
env: {TOX_ENV: py34-flake8}
|
|
- python: 2.7
|
|
env: {TOX_ENV: docs}
|
|
|
|
# Non-Python dependencies.
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- sourceline: "deb http://archive.ubuntu.com/ubuntu/ trusty multiverse"
|
|
- sourceline: "deb http://archive.ubuntu.com/ubuntu/ trusty-updates multiverse"
|
|
packages:
|
|
- bash-completion
|
|
- imagemagick
|
|
- mp3gain
|
|
- unrar
|
|
|
|
# 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
|