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:
12
.travis.yml
Normal file
12
.travis.yml
Normal 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
|
||||||
@@ -24,3 +24,8 @@ nodist_pkgconfig_DATA = snappy.pc
|
|||||||
|
|
||||||
libtool: $(LIBTOOL_DEPS)
|
libtool: $(LIBTOOL_DEPS)
|
||||||
$(SHELL) ./config.status --recheck
|
$(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
|
||||||
|
|||||||
Reference in New Issue
Block a user