From 27eeb94f2c8273b5a371ff6ada1c14e9378b49b4 Mon Sep 17 00:00:00 2001 From: Adrian Sampson Date: Tue, 28 Jan 2014 12:27:16 -0800 Subject: [PATCH] travis config: avoid failing shell commands Appending "|| true" makes these optional commands always have exit status 0. --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 79e5af4fc..095c04568 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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"