mirror of
https://github.com/beetbox/beets.git
synced 2026-01-07 08:32:06 +01:00
26 lines
757 B
YAML
26 lines
757 B
YAML
language: python
|
|
python:
|
|
- "2.7"
|
|
- "2.6"
|
|
- "pypy"
|
|
|
|
branches:
|
|
only:
|
|
- master
|
|
|
|
install:
|
|
- travis_retry pip install .
|
|
- travis_retry pip install pylast flask
|
|
# unittest backport on Python < 2.7
|
|
- "[[ $TRAVIS_PYTHON_VERSION == '2.6' ]] && pip install unittest2 || true"
|
|
- travis_retry sudo apt-get update
|
|
- travis_retry sudo apt-get install -qq bash-completion
|
|
|
|
script: nosetests --with-coverage --cover-package=beets
|
|
|
|
# coveralls.io reporting, using https://github.com/coagulant/coveralls-python
|
|
# Only report coverage for one version.
|
|
before_script:
|
|
- "[[ $TRAVIS_PYTHON_VERSION == '2.7' ]] && pip install coveralls || true"
|
|
after_success:
|
|
- "[[ $TRAVIS_PYTHON_VERSION == '2.7' ]] && coveralls || true"
|