45 lines
773 B
YAML
45 lines
773 B
YAML
|
#
|
||
|
# Copyright (C) 2020 CismonX <admin@cismon.net>
|
||
|
#
|
||
|
# Copying and distribution of this file, with or without modification, are
|
||
|
# permitted in any medium without royalty, provided the copyright notice and
|
||
|
# this notice are preserved. This file is offered as-is, without any warranty.
|
||
|
#
|
||
|
|
||
|
language: c
|
||
|
|
||
|
os:
|
||
|
- linux
|
||
|
- osx
|
||
|
|
||
|
dist: focal
|
||
|
|
||
|
compiler:
|
||
|
- gcc
|
||
|
- clang
|
||
|
|
||
|
addons:
|
||
|
apt:
|
||
|
update: true
|
||
|
packages:
|
||
|
- autoconf-archive
|
||
|
- dejagnu
|
||
|
homebrew:
|
||
|
update: true
|
||
|
packages:
|
||
|
- autoconf-archive
|
||
|
- dejagnu
|
||
|
|
||
|
branches:
|
||
|
only:
|
||
|
- master
|
||
|
|
||
|
before_script:
|
||
|
- test $TRAVIS_OS_NAME$CC = osxgcc && export CC=gcc-9 || true
|
||
|
|
||
|
script:
|
||
|
- autoreconf --install
|
||
|
- ./configure CFLAGS='-O0 -g -Wall -Wextra -Wpedantic'
|
||
|
- make
|
||
|
- sudo make install
|