celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bpe...@apache.org
Subject celix git commit: CELIX-246: Add additional job using linux/gcc/address sanitizer
Date Thu, 07 Jan 2016 14:53:41 GMT
Repository: celix
Updated Branches:
  refs/heads/develop 876654fac -> 613cd7fed


CELIX-246: Add additional job using linux/gcc/address sanitizer


Project: http://git-wip-us.apache.org/repos/asf/celix/repo
Commit: http://git-wip-us.apache.org/repos/asf/celix/commit/613cd7fe
Tree: http://git-wip-us.apache.org/repos/asf/celix/tree/613cd7fe
Diff: http://git-wip-us.apache.org/repos/asf/celix/diff/613cd7fe

Branch: refs/heads/develop
Commit: 613cd7fed7c3b3f5c6b57d7c49f365e1cfdcc59f
Parents: 876654f
Author: Bjoern Petri <bpetri@apache.org>
Authored: Thu Jan 7 15:52:52 2016 +0100
Committer: Bjoern Petri <bpetri@apache.org>
Committed: Thu Jan 7 15:52:52 2016 +0100

----------------------------------------------------------------------
 .travis.yml | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/celix/blob/613cd7fe/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index 8855894..75c2440 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -8,8 +8,14 @@ compiler:
     - gcc
     - clang
 
+matrix:
+    include:
+       - os: linux
+         compiler: gcc
+         env: SANITIZE=1
+
 before_install:
-  - if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get -qq update && sudo apt-get
install -y uuid-dev libxml2-dev lcov libffi-dev; fi
+  - if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo add-apt-repository ppa:ubuntu-toolchain-r/test
-y && sudo apt-get -qq update && sudo apt-get install -y uuid-dev libxml2-dev
lcov libffi-dev gcc-4.8 g++-4.8; fi
   - if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew update && brew install lcov libffi
&& brew link --force libffi; fi
 
 before_script:
@@ -26,6 +32,7 @@ before_script:
 
 
 script:
+    - if [ "$SANITIZE" == 1 ]; then export CC=/usr/bin/gcc-4.8 CXX=/usr/bin/g++-4.8 CFLAGS="-lasan
-fsanitize=address"  CXXFLAGS="-lasan -fsanitize=address" ASAN_OPTIONS="symbolize=1" ASAN_SYMBOLIZER_PATH="/usr/bin/asan_symbolize";
fi
      # the following setup is broken:
      # RSA_DISCOVERY_SHM is only working on linux, but both compilers (see CELIX-277)
      # RSA_SHM is only working on linux, but both compilers (see CELIX-277)


Mime
View raw message