---
language: c
compiler:
  - gcc
  - clang
install:
  - sudo apt-get install -y valgrind
  - pip install --user cpp-coveralls
script:
  - if [ "$CC" = "clang" ]; then export WITH_UB_SAN=1; fi
  - ./numake tests
after_success:
  - if [ "$CC" = "gcc" ]; then coveralls --root . --build-root . --exclude .build/src/tests; fi
env:
  - WITH_LTO=0 WITH_COVERAGE=1
sudo: required
dist: trusty

---
language: c
compiler:
  - gcc
  - clang
install:
  - sudo apt-get install -y valgrind
  - pip install --user cpp-coveralls
script:
  - if [ "$CC" = "clang" ]; then export WITH_UB_SAN=1; fi
  - ./numake tests
after_success:
  - if [ "$CC" = "gcc" ]; then coveralls --root . --build-root . --exclude .build/src/tests; fi
env:
  - WITH_LTO=0 WITH_COVERAGE=1 VALGRIND='valgrind --leak-check=full'
sudo: required
dist: trusty

Enable full leak check in Travis
Enable full leak check in Travis
