From 1a4306008cb5b26b153e36f4ad6d6cdaf27f25d2 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Sat, 6 Feb 2016 14:17:27 +0100 Subject: [PATCH] Add Travis CI configuration file. --- .travis.yml | 21 +++++++++++++++++++++ Makefile.am | 3 +++ 2 files changed, 24 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..33ba830 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,21 @@ +sudo: false +language: c +env: VERBOSE=1 + +addons: + apt: + packages: + - build-essential + - pkg-config + +before_install: + - ./bootstrap + +os: + - linux + - osx + +compiler: + - gcc + - clang + diff --git a/Makefile.am b/Makefile.am index f547a7e..0cec876 100644 --- a/Makefile.am +++ b/Makefile.am @@ -15,3 +15,6 @@ rinetd_SOURCES = rinetd.c match.c match.h # _GNU_SOURCE is for h_errno and gethostbyname-related macros rinetd_CFLAGS = -std=c99 -D_XOPEN_SOURCE -D_GNU_SOURCE -D_POSIX_C_SOURCE=200809L -Wall -Wextra -Wwrite-strings -I. +# This is for Travis CI; we don’t have a testsuite yet. +test: +