mirror of
https://github.com/KingDuckZ/dindexer.git
synced 2024-11-25 00:53:43 +00:00
Compile hiredis manually because the one from travis dates back to 2011
This commit is contained in:
parent
3cf0f95343
commit
32ca308982
2 changed files with 8 additions and 2 deletions
|
@ -23,7 +23,6 @@ gcc_deps: &gcc_deps
|
|||
- libpq-dev
|
||||
- libpq5
|
||||
- rpm
|
||||
- libhiredis-dev
|
||||
- libev-dev
|
||||
sources:
|
||||
- ubuntu-toolchain-r-test
|
||||
|
@ -80,6 +79,13 @@ install:
|
|||
(cd yaml-cpp && cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=on -DCMAKE_INSTALL_PREFIX=${DEPS_DIR}/opt . && cmake --build . && make install)
|
||||
fi
|
||||
|
||||
# Install hiredis
|
||||
- |
|
||||
if [ ! -f opt/lib/libhiredis.so ]; then
|
||||
mkdir hiredis && travis_retry wget --quiet -O - https://github.com/redis/hiredis/archive/v0.13.3.tar.gz | tar --strip-components=1 -xz -C hiredis
|
||||
(cd hiredis && make && cp libhiredis.so ${DEPS_DIR}/opt/lib)
|
||||
fi
|
||||
|
||||
- cd ${TRAVIS_BUILD_DIR}
|
||||
|
||||
cache:
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit afa4db734846889068aa316b1cda8e11210cd241
|
||||
Subproject commit 0d4561e2c7c1a68124daa7ebf5b48ccb58c9f7fe
|
Loading…
Reference in a new issue