.travis.yml 729 B

123456789101112131415161718192021222324252627
  1. sudo: false
  2. language: c
  3. compiler:
  4. - clang
  5. - gcc
  6. env:
  7. global:
  8. - DUMB_CONSOLE=1
  9. matrix:
  10. - COVERAGE=false ASAN=true
  11. - COVERAGE=false ASAN=false
  12. - COVERAGE=true ASAN=false
  13. matrix:
  14. exclude:
  15. - env: ASAN=true
  16. compiler: gcc
  17. cache:
  18. directories:
  19. - -$HOME/.cache/pip
  20. install:
  21. - $COVERAGE && pip install cpp-coveralls || true
  22. script:
  23. - $COVERAGE && export CC="${CC} -fprofile-arcs -ftest-coverage -O0 -g" || true
  24. - $ASAN && export CC='clang -O1 -fsanitize=address -g -fno-omit-frame-pointer' || true
  25. - make hipack-check
  26. after_success:
  27. - $COVERAGE && coveralls --exclude tools --exclude test --exclude fpconv --gcov-options '\-lp' || true