[pzstd] Add asan and tsan tests to travis
gcc-6 tsan is buggy.
It fails to use the correct linker.
It is also broken with `-pie` with linux kernels newer than 4.1, but previous versions require `-pie`...
diff --git a/.travis.yml b/.travis.yml
index f328f48..0c89607 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -55,6 +55,20 @@
packages:
- libc6-dev-i386
- gcc-multilib
+ - os: linux
+ sudo: required
+ install:
+ - export CXX="g++-6" CC="gcc-6"
+ - export LDFLAGS="-fuse-ld=gold"
+ - export TESTFLAGS='--gtest_filter=-*ExtremelyLarge*'
+ env: PLATFORM="Ubuntu 12.04" CMD='cd contrib/pzstd && make googletest && make tsan && make check && make clean && make asan && make check && make clean && cd ../..'
+ addons:
+ apt:
+ sources:
+ - ubuntu-toolchain-r-test
+ packages:
+ - gcc-6
+ - g++-6
# Ubuntu 14.04 LTS Server Edition 64 bit
- os: linux
dist: trusty