Travis: use distro's librocksdb-dev on AMD64 and ARM64

This commit is contained in:
Ștefan Talpalaru 2019-11-05 18:47:47 +01:00
parent a417edb5ff
commit 18143a1e6d
No known key found for this signature in database
GPG Key ID: CBF7934204F1B6F9
1 changed files with 6 additions and 4 deletions

View File

@ -28,6 +28,8 @@ matrix:
- NPROC=2
before_install:
- export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib"
- sudo apt-get -q update
- sudo apt-get install -y librocksdb-dev
- os: linux
arch: arm64
sudo: required
@ -37,17 +39,17 @@ matrix:
before_install:
- export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib"
- sudo apt-get -q update
- sudo apt-get install -y libpcre3-dev git-lfs
- sudo apt-get install -y libpcre3-dev git-lfs librocksdb-dev
- os: osx
env:
- NPROC=2
before_install:
- launchctl setenv LIBRARY_PATH /usr/local/lib # for RocksDB
# build our own rocksdb to test with a fixed version that we think works
- vendor/nimbus-build-system/scripts/build_rocksdb.sh rocksdbCache
install:
# build our own rocksdb to test with a fixed version that we think works
- vendor/nimbus-build-system/scripts/build_rocksdb.sh rocksdbCache
# LFS test fixtures
- scripts/setup_official_tests.sh jsonTestsCache