# Medium Tests: Run on all commits/PRs to dev branch language: c git: depth: 1 branches: only: - dev - master - travisTest addons: apt: update: true env: global: - FUZZERTEST=-T2mn ZSTREAM_TESTTIME=-T2mn DECODECORPUS_TESTTIME=-T1mn matrix: fast_finish: true include: - name: arm64 # ~2.5 mn os: linux arch: arm64 script: - make check - name: make benchmarking script: - make benchmarking - name: make test (complete) script: # DEVNULLRIGHTS : will request sudo rights to test permissions on /dev/null - DEVNULLRIGHTS=test make test - name: gcc-6 + gcc-7 + libzstdmt compilation # ~ 6mn script: - make gcc6install gcc7install - CC=gcc-6 CFLAGS=-Werror make -j all - make clean - CC=gcc-7 CFLAGS=-Werror make -j all - make clean - LDFLAGS=-Wl,--no-undefined make -C lib libzstd-mt - make -C tests zbufftest-dll # LDFLAGS=-Wl,--no-undefined : will make the linker fail if dll is underlinked # zbufftest-dll : test that a user program can link to multi-threaded libzstd without specifying -pthread - name: gcc-8 + ASan + UBSan + Test Zstd # ~6.5mn script: - make gcc8install - CC=gcc-8 CFLAGS="-Werror" make -j all - make clean - CC=gcc-8 make -j uasan-test-zstd