diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..13a6109 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,12 @@ +language: cpp +compiler: +- clang +- gcc +os: +- linux +sudo: false +before_install: +- echo $LANG +- echo $LC_ALL +script: +- ./autogen.sh && ./configure && make -j 4 check diff --git a/Makefile.am b/Makefile.am index c00e136..0746a16 100644 --- a/Makefile.am +++ b/Makefile.am @@ -24,3 +24,8 @@ nodist_pkgconfig_DATA = snappy.pc libtool: $(LIBTOOL_DEPS) $(SHELL) ./config.status --recheck + +# Needed by autoconf because we use README.md instead of README. +# See http://stackoverflow.com/q/15013672/ +README: README.md + cat $< > $@.tmp