diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..1dbef69 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,17 @@ +language: cpp +sudo: false + +addons: + apt: + packages: + - protobuf-compiler + - libprotobuf-dev + - libutempter-dev + +before_install: + - git fetch --tags --unshallow + +script: + - ./autogen.sh + - ./configure --enable-compile-warnings=error --enable-examples + - make distcheck diff --git a/Makefile.am b/Makefile.am index 1ebaf57..c5cf249 100644 --- a/Makefile.am +++ b/Makefile.am @@ -3,6 +3,7 @@ SUBDIRS = src scripts man conf EXTRA_DIST = autogen.sh ocb-license.html README.md COPYING.iOS BUILT_SOURCES = version.h CLANG_SCAN_BUILD = scan-build +AM_DISTCHECK_CONFIGURE_FLAGS = --enable-compile-warnings=error --enable-examples .PHONY: VERSION