Add a build matrix with different rocksdb versions

master
Karl Hobley 8 years ago
parent dff72f72df
commit 3783d98a63
  1. 23
      .travis.yml

@ -1,13 +1,20 @@
language: rust language: rust
rust:
- nightly
- 1.1.0
- 1.2.0
dist: trusty dist: trusty
sudo: true sudo: true
matrix:
include:
- rust: stable
env: ROCKSDB_VERSION=4.13
- rust: 1.2.0
env: ROCKSDB_VERSION=4.13
- rust: beta
env: ROCKSDB_VERSION=4.13
- rust: stable
env: ROCKSDB_VERSION=4.5
- rust: stable
env: ROCKSDB_VERSION=4.1
addons: addons:
apt: apt:
sources: sources:
@ -21,8 +28,8 @@ addons:
- libbz2-dev - libbz2-dev
install: install:
- curl -L https://github.com/facebook/rocksdb/archive/4.13.fb.tar.gz | tar xvz -C $HOME/rocksdb - curl -L https://github.com/facebook/rocksdb/archive/$ROCKSDB_VERSION.fb.tar.gz | tar xvz -C $HOME/rocksdb
- sudo INSTALL_PATH=/usr make -C $HOME/rocksdb/rocksdb-4.13.fb install-shared - sudo INSTALL_PATH=/usr make -C $HOME/rocksdb/rocksdb-$ROCKSDB_VERSION.fb install-shared
script: script:
- cargo test - cargo test

Loading…
Cancel
Save