From 49df1b0a174e8150e331f6e22eacc21a8f2a9083 Mon Sep 17 00:00:00 2001 From: Holger <holger@nahrstaedt.de> Date: Fri, 11 Jan 2019 14:18:56 +0100 Subject: [PATCH] fix travis --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index b1d0dec6..5f5cd9b0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -63,14 +63,14 @@ before_install: script: - tox - - sed -i 's/filename="/filename=".\//g' coverage.xml - - ( which sonar-scanner && sonar-scanner || true ) + - if [[ "$TOXENV" == "py36short" ]]; then sed -i 's/filename="/filename=".\//g' coverage.xml; fi + - if [[ "$TOXENV" == "py36short" ]]; then ( which sonar-scanner && sonar-scanner || true ); fi after_success: - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then bash util/package-osx.sh; fi - if [[ "$BUILD_LINUX" == "yes" ]]; then bash util/package-linux.sh; fi - coveralls - - codecov + - if [[ "$TOXENV" == "py36short" ]]; then codecov; fi # - python-codacy-coverage -r coverage.xml addons: -- GitLab