u6a/.travis.yml

42 lines
698 B
YAML
Raw Normal View History

2020-02-01 14:45:48 +00:00
language: c
os:
- linux
- osx
dist: bionic
compiler:
- gcc
- clang
2020-03-14 20:31:20 +00:00
addons:
apt:
packages:
- dejagnu
homebrew:
update: true
2020-03-14 20:31:20 +00:00
packages:
- dejagnu
2020-02-01 14:45:48 +00:00
branches:
only:
- master
2020-03-23 17:03:34 +00:00
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
2020-02-01 14:45:48 +00:00
script:
- autoreconf --install
2020-03-23 15:58:02 +00:00
- ./configure CFLAGS='-O0 -g -coverage'
2020-02-01 14:45:48 +00:00
- make
- make check
2020-03-23 17:03:34 +00:00
- $GCOV_BIN src/*.c
2020-02-02 17:09:21 +00:00
- sudo make install
- command -v u6a u6ac
# - whatis u6a u6ac # broken on macOS...
2020-03-23 15:58:02 +00:00
after_success:
- bash <(curl -s https://codecov.io/bash)