Commit 0f8c6816 authored by follitude's avatar follitude Committed by siddontang

Fix CI (#93)

parent a50c0841
...@@ -43,13 +43,13 @@ dependencies: ...@@ -43,13 +43,13 @@ dependencies:
fi fi
- make -f travis-build/Makefile prepare-rustfmt - make -f travis-build/Makefile prepare-rustfmt
- | - |
if [[ ! -e $HOME/.local/lib/librocksdb.so ]]; then if [[ ! -e $HOME/.local/lib/librocksdb.so.5.5.1 ]]; then
export CPLUS_INCLUDE_PATH="${LOCAL_PREFIX}/include" && \ export CPLUS_INCLUDE_PATH="${LOCAL_PREFIX}/include" && \
cd /tmp && \ cd /tmp && \
curl -L https://github.com/facebook/rocksdb/archive/v5.5.1.tar.gz -o rocksdb.tar.gz && \ curl -L https://github.com/facebook/rocksdb/archive/v5.5.1.tar.gz -o rocksdb.tar.gz && \
tar xf rocksdb.tar.gz && \ tar xf rocksdb.tar.gz && \
cd rocksdb-5.5.1 && \ cd rocksdb-5.5.1 && \
INSTALL_PATH=${LOCAL_PREFIX} make -j install-shared; INSTALL_PATH=${LOCAL_PREFIX} make -j 1 install-shared;
fi fi
post: post:
# cargo test also use debug # cargo test also use debug
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment