removing precompiling rediscell, compiling on the fly

This commit is contained in:
Simon Martín 2018-03-12 20:30:54 +01:00
parent 29183eaed0
commit 41db3050a7
3 changed files with 5 additions and 0 deletions

View File

@ -46,6 +46,9 @@ before_install:
- sudo make install
- cd ..
- rm redis-stable.tar.gz
- wget https://github.com/brandur/redis-cell/releases/download/v0.2.2/redis-cell-v0.2.2-x86_64-unknown-linux-gnu.tar.gz
- tar xvzf redis-cell-v0.2.2-x86_64-unknown-linux-gnu.tar.gz
- rm redis-cell-v0.2.2-x86_64-unknown-linux-gnu.tar.gz
# configure it to accept local connections from postgres
- echo -e "# TYPE DATABASE USER ADDRESS METHOD \nlocal all postgres trust\nlocal all all trust\nhost all all 127.0.0.1/32 trust" \

Binary file not shown.

View File

@ -117,6 +117,8 @@ if test x"$OPT_CREATE_REDIS" = xyes; then
redis-server -v
redis-cli -v
ls -la
ls -la ./libredis_cell.so
ls -la libredis_cell.so
echo "port ${REDIS_PORT}" | redis-server - --loadmodule ./libredis_cell.so > ${BASEDIR}/test.log &
PID_REDIS=$!
echo ${PID_REDIS} > ${BASEDIR}/redis.pid