language: c os: - linux - osx dist: bionic compiler: - gcc - clang addons: apt: packages: - dejagnu homebrew: update: true packages: - dejagnu branches: only: - master before_script: - export GCOV_BIN=`test $TRAVIS_COMPILER = clang && echo 'llvm-cov gcov' || echo gcov` - test $TRAVIS_OS_NAME = osx && export PATH=$PATH:/Library/Developer/CommandLineTools/usr/bin || true script: - autoreconf --install - ./configure CFLAGS='-O0 -g -coverage' - make - make check - $GCOV_BIN src/*.c - sudo make install - command -v u6a u6ac # - whatis u6a u6ac # broken on macOS... after_success: - bash <(curl -s https://codecov.io/bash)