Add Travis CI configuration file.

This commit is contained in:
Sam Hocevar 2016-02-06 14:17:27 +01:00
parent b1d6ce5356
commit 1a4306008c
2 changed files with 24 additions and 0 deletions

21
.travis.yml Normal file
View File

@ -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

View File

@ -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 dont have a testsuite yet.
test: