travis: try and get lz4 testing going
@@ -19,6 +19,12 @@ matrix:
# gcc is actually clang on OSX, so pointless to test twice
script:
+ - |
+ if [ $TRAVIS_OS_NAME = linux ]; then
+ sudo apt-get install lz4
+ else
+ brew install lz4
+ fi
# workaround git not retaining mtimes and bison/flex not being uptodate
- touch conffile.yy.c conffile.tab.c conffile.tab.h
- touch configure.ac Makefile.am aclocal.m4 configure Makefile.in config.h.in
@@ -37,13 +43,13 @@ script:
if ./configure --with-gzip --without-lza4 --without-ssl ; then
make CFLAGS="-O3 -Wall -Werror -Wshadow -pipe" clean relay || exit 1
fi
- if ./configure --without-gzip --with-lza4 --without-ssl ; then
+ if ./configure --without-gzip --with-lz4 --without-ssl ; then
make CFLAGS="-O3 -Wall -Werror -Wshadow -pipe" clean relay || exit 1
fi
- if ./configure --with-gzip --with-lza4 --without-ssl ; then
+ if ./configure --with-gzip --with-lz4 --without-ssl ; then
make CFLAGS="-O3 -Wall -Werror -Wshadow -pipe" clean relay || exit 1
fi
- if ./configure --with-gzip --with-lza4 --with-ssl ; then
+ if ./configure --with-gzip --with-lz4 --with-ssl ; then
make CFLAGS="-O3 -Wall -Werror -Wshadow -pipe" clean relay || exit 1
fi
# final test with everything enabled that is detected
