From 4e9b84d9010602591f81bc65c2a975c1b50cb36f Mon Sep 17 00:00:00 2001 From: arvidn Date: Thu, 14 Sep 2017 12:36:10 +0200 Subject: [PATCH] use release builds for sonar scan --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index b9e1b8647..623ea0268 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,7 @@ dist: trusty matrix: fast_finish: true include: - - env: variant=test_release sonar_scan=1 toolset=gcc + - env: variant=release sonar_scan=1 toolset=gcc - env: variant=test_debug lint=1 tests=1 toolset=gcc-sanitizer - env: variant=test_debug sim=1 crypto=openssl toolset=gcc-sanitizer - env: variant=test_release coverage=1 tests=1 toolset=gcc-coverage python=1 @@ -155,7 +155,7 @@ script: fi' - 'if [ "$sonar_scan" == "1" ]; then - build-wrapper-linux-x86-64 --out-dir bw-output bjam -a -j3 crypto=$crypto $toolset variant=$variant -l300 && + build-wrapper-linux-x86-64 --out-dir bw-output bjam -a -j3 optimization=off crypto=$crypto $toolset variant=$variant -l300 && sonar-scanner -D sonar.login=$SONAR_TOKEN; fi'