Implementation of Unlambda, an esoteric programming language.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
u6a/.travis.yml

41 lines
736 B

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:
- test $TRAVIS_OS_NAME = osx && true || bash <(curl -s https://codecov.io/bash)