Skip to content

Commit

Permalink
travis: using librocksdb.so in native-lib dir.
Browse files Browse the repository at this point in the history
  • Loading branch information
Robin Zhong committed Mar 15, 2018
1 parent 7541ff8 commit 52fb540
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,10 @@ install:
- mkdir /tmp/rocksdb && pushd /tmp/rocksdb
- wget https://github.com/facebook/rocksdb/archive/v5.11.3.tar.gz
- tar -xvf v5.11.3.tar.gz
- cd rocksdb-5.11.3
- make clean
- make shared_lib
- sudo cp --preserve=links ./librocksdb.* /usr/lib/
- sudo cp -r ./include/rocksdb/ /usr/include/
- popd
- sudo install native-lib/* /usr/local/lib
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo /sbin/ldconfig ; fi
- dep ensure
- sudo install nf/nvm/native-lib/* /usr/local/lib
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo /sbin/ldconfig ; fi
Expand Down

0 comments on commit 52fb540

Please sign in to comment.