.travis.yml 698 B

123456789101112131415161718192021
  1. language: c
  2. matrix:
  3. include:
  4. - name: "AddressSanitizer"
  5. addons:
  6. apt:
  7. sources:
  8. - llvm-toolchain-trusty-5.0
  9. packages:
  10. - llvm-5.0-dev
  11. - clang-5.0
  12. - libclang-common-5.0-dev
  13. script:
  14. - export CC=clang
  15. - export CXX=clang++
  16. - export PATH=/usr/lib/llvm-5.0/bin/:$PATH
  17. - export CFLAGS=-fsanitize=address
  18. - export LDFLAGS=-fsanitize=address
  19. - export ASAN_SYMBOLIZER_PATH=/usr/lib/llvm-5.0/bin/llvm-symbolizer
  20. - ./do
  21. - ./build_*/test_testcjdroute_c | while read x; do test "$x" = "" && continue ; echo ">$x" ; bash -c "$x" >/dev/null || exit 100 ; done