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

This commit is contained in:
Ștefan Talpalaru 2019-11-06 12:58:56 +01:00
parent 66020ea752
commit 95e01ecc83
No known key found for this signature in database
GPG Key ID: CBF7934204F1B6F9
1 changed files with 5 additions and 5 deletions

View File

@ -23,6 +23,8 @@ matrix:
- NPROC=2 - NPROC=2
before_install: before_install:
- export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib" - export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib"
- sudo apt-get -q update
- sudo apt-get install -y librocksdb-dev
- os: linux - os: linux
arch: arm64 arch: arm64
sudo: required sudo: required
@ -32,16 +34,14 @@ matrix:
before_install: before_install:
- export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib" - export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib"
- sudo apt-get -q update - sudo apt-get -q update
- sudo apt-get install -y libpcre3-dev - sudo apt-get install -y libpcre3-dev librocksdb-dev
- os: osx - os: osx
env: env:
- NPROC=2 - NPROC=2
before_install: before_install:
- launchctl setenv LIBRARY_PATH /usr/local/lib # for RocksDB - launchctl setenv LIBRARY_PATH /usr/local/lib # for RocksDB
# build our own rocksdb to test with a fixed version that we think works
install: - vendor/nimbus-build-system/scripts/build_rocksdb.sh rocksdbCache
# build our own rocksdb to test with a fixed version that we think works
- vendor/nimbus-build-system/scripts/build_rocksdb.sh rocksdbCache
script: script:
- set -e # fail fast - set -e # fail fast