mirror of https://github.com/google/snappy.git
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:
parent
1cd3ab02e9
commit
7d7a8ec805
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue