Add Travis CI configuration to snappy and fix the make build.

The make build in the open source version uses autoconf, which is set up
to expect a project that follows the gnu standard.
This commit is contained in:
costan 2017-03-10 12:27:00 -08:00 committed by Victor Costan
parent 1cd3ab02e9
commit 7d7a8ec805
2 changed files with 17 additions and 0 deletions

12
.travis.yml Normal file
View File

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

View File

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