mirror of
https://github.com/beetbox/beets.git
synced 2026-02-21 23:03:26 +01:00
travis config: avoid failing shell commands
Appending "|| true" makes these optional commands always have exit status 0.
This commit is contained in:
parent
179c2d16a5
commit
27eeb94f2c
1 changed files with 3 additions and 3 deletions
|
|
@ -12,13 +12,13 @@ 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"
|
||||
- "[[ $TRAVIS_PYTHON_VERSION == '2.6' ]] && pip install unittest2 || true"
|
||||
|
||||
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"
|
||||
- "[[ $TRAVIS_PYTHON_VERSION == '2.7' ]] && pip install coveralls || true"
|
||||
after_success:
|
||||
- "[[ $TRAVIS_PYTHON_VERSION == '2.7' ]] && coveralls"
|
||||
- "[[ $TRAVIS_PYTHON_VERSION == '2.7' ]] && coveralls || true"
|
||||
|
|
|
|||
Loading…
Reference in a new issue