travis: install rocksdb from tarball instead
This commit is contained in:
parent
fcbd10e6f7
commit
c1d405a032
|
@ -22,9 +22,10 @@ matrix:
|
|||
sudo: required
|
||||
before_install:
|
||||
- sudo apt-get install -y libssl-dev libgflags-dev libsnappy-dev
|
||||
- git clone https://github.com/facebook/rocksdb.git
|
||||
- wget https://github.com/facebook/rocksdb/archive/v5.14.2.tar.gz
|
||||
- tar xvf v5.14.2.tar.gz
|
||||
# rocksdb not present on trusty - on a newer ubuntu you can apt-get install -y librocksdb-dev
|
||||
- cd rocksdb && git checkout v5.14.2 && make shared_lib -j$(nproc) && sudo make INSTALL_PATH=/usr install-shared && cd ..
|
||||
- cd rocksdb-5.14.2 && make shared_lib -j$(nproc) && sudo make INSTALL_PATH=/usr install-shared && cd ..
|
||||
|
||||
- os: osx
|
||||
before_install:
|
||||
|
|
Loading…
Reference in New Issue