added clang test in travis

This commit is contained in:
Yann Collet 2019-01-19 23:44:09 -08:00
parent 2a6aa6be5f
commit 4909a341db

View File

@ -30,12 +30,14 @@ matrix:
script:
- make test
- name: gcc-6 + gcc-7 compilation
- name: clang + gcc-6 + gcc-7 compilation
script:
- make gcc6install gcc7install
- CC=gcc-6 CFLAGS=-Werror make -j all
- make clean
- CC=gcc-7 CFLAGS=-Werror make -j all
- make clean
- CXX=clang++ CC=clang CFLAGS="-Werror -Wconversion -Wno-sign-conversion -Wdocumentation" make all
- name: gcc-8 + ASan + UBSan + Test Zstd
script: