diff options
author | Yann Collet <cyan@fb.com> | 2016-11-18 02:06:22 (GMT) |
---|---|---|
committer | Yann Collet <cyan@fb.com> | 2016-11-18 02:08:28 (GMT) |
commit | 8f536a43b15daf1ff7e8c0cffe387f8227f72dd3 (patch) | |
tree | 9e4cfc30f9815b6fd9ad8990400b2d9be57b42ad | |
parent | 3f6f57768752a5687c2715ad4a7cd4ebfa502bc2 (diff) | |
download | lz4-8f536a43b15daf1ff7e8c0cffe387f8227f72dd3.zip lz4-8f536a43b15daf1ff7e8c0cffe387f8227f72dd3.tar.gz lz4-8f536a43b15daf1ff7e8c0cffe387f8227f72dd3.tar.bz2 |
added sanitize32 tests to Travis
-rw-r--r-- | .travis.yml | 38 | ||||
-rw-r--r-- | Makefile | 3 |
2 files changed, 26 insertions, 15 deletions
diff --git a/.travis.yml b/.travis.yml index 58eee4c..12d7816 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,32 +21,50 @@ matrix: # 14.04 LTS Server Edition 64 bit - - env: Ubu=14.04 Cmd='make -C tests test-lz4c32 test-fullbench32 versionsTest' COMPILER=cc + - env: Ubu=14.04 Cmd='make c_standards CC=gcc-6 && make -C tests test-lz4 CC=gcc-6 MOREFLAGS=-Werror' COMPILER=gcc-6 + dist: trusty + sudo: required + addons: + apt: + sources: + - ubuntu-toolchain-r-test + packages: + - gcc-6 + + - env: Ubu=14.04 Cmd='make sanitize32' COMPILER=clang dist: trusty sudo: required addons: apt: packages: - - python3 - libc6-dev-i386 - gcc-multilib - - env: Ubu=14.04 Cmd='make -C tests test-frametest32 test-fuzzer32' COMPILER=cc + - env: Ubu=14.04 Cmd='make sanitize' COMPILER=clang dist: trusty sudo: required addons: apt: packages: + + - env: Ubu=14.04 Cmd='make -C tests test-lz4c32 test-fullbench32 versionsTest' COMPILER=cc + dist: trusty + sudo: required + addons: + apt: + packages: + - python3 - libc6-dev-i386 - gcc-multilib - - env: Ubu=14.04 Cmd='make sanitize' COMPILER=clang + - env: Ubu=14.04 Cmd='make -C tests test-frametest32 test-fuzzer32' COMPILER=cc dist: trusty sudo: required addons: apt: packages: - - valgrind + - libc6-dev-i386 + - gcc-multilib - env: Ubu=14.04 Cmd='make staticAnalyze' COMPILER=clang dist: trusty @@ -100,16 +118,6 @@ matrix: - gcc-5 - gcc-5-multilib - - env: Ubu=14.04 Cmd='make c_standards CC=gcc-6 && make -C tests test-lz4 CC=gcc-6 MOREFLAGS=-Werror' COMPILER=gcc-6 - dist: trusty - sudo: required - addons: - apt: - sources: - - ubuntu-toolchain-r-test - packages: - - gcc-6 - - env: Ubu=14.04 Cmd='make -C tests test-lz4 CC=clang-3.8' COMPILER=clang-3.8 dist: trusty sudo: required @@ -109,6 +109,9 @@ clangtest-native: clean sanitize: clean CFLAGS="-O3 -g -fsanitize=undefined" $(MAKE) test CC=clang FUZZER_TIME="-T1mn" NB_LOOPS=-i1 +sanitize32: clean + CFLAGS="-m32 -O3 -g -fsanitize=undefined" $(MAKE) test CC=clang FUZZER_TIME="-T1mn" NB_LOOPS=-i1 + staticAnalyze: clean CFLAGS=-g scan-build --status-bugs -v $(MAKE) all |