From 25fb427ca585750403141aa88962a522f055be65 Mon Sep 17 00:00:00 2001 From: Alberto Riccardo Martinelli Date: Sun, 3 Mar 2019 09:58:02 +0100 Subject: [PATCH] [#70] sonarqube only for gcc7 --- .travis.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1e8cec1d..61b025ee 100644 --- a/.travis.yml +++ b/.travis.yml @@ -76,7 +76,5 @@ script: - cmake .. - make - ctest - - cp ../sonar-project.properties . - - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then build-wrapper-macosx-x86 --out-dir bw-output make clean all ; fi - - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then build-wrapper-linux-x86-64 --out-dir bw-output make clean all ; fi + - if [[ "$MATRIX_EVAL" == "CC=gcc-7 && CXX=g++-7" ]]; then cp ../sonar-project.properties . && build-wrapper-linux-x86-64 --out-dir bw-output make clean all ; fi - sonar-scanner