Commit a38eb0b3 authored by Wu Jiayu's avatar Wu Jiayu Committed by Connor

Fix mac travis: check if libs existed before install (#47)

parent 817f576f
......@@ -48,7 +48,14 @@ matrix:
install:
# osx dependencies
- if [ "${TRAVIS_OS_NAME}" == osx ]; then
brew install gflags zstd lz4 snappy xz;
to_install=( "gflags" "zstd" "lz4" "snappy" "xz" );
brew list > tmp;
for ins in ${to_install[*]}; do
grep -q "$ins" tmp;
if [ $? -ne 0 ]; then
brew install "$ins";
fi
done
fi
- git clone --depth=1 --branch=tikv-3.0 https://github.com/pingcap/rocksdb.git
- export CTEST_OUTPUT_ON_FAILURE=1
......
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