travis: build specific rocksdb version and install in /usr

This commit is contained in:
Jacek Sieka 2018-08-21 11:54:42 -06:00
parent fd955be92a
commit 5de3fc761c
No known key found for this signature in database
GPG Key ID: 6299FEB3EB6FA465
1 changed files with 2 additions and 1 deletions

View File

@ -13,7 +13,8 @@ matrix:
before_install:
- sudo apt-get install -y libssl-dev libgflags-dev libsnappy-dev
- git clone https://github.com/facebook/rocksdb.git
- cd rocksdb && make shared_lib && sudo make install && cd ..
# 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 ..
- git clone https://github.com/status-im/nim.git
- cd nim
- sh build_all.sh