From 3783d98a63d78b4c7da897403d30c501a06eacdd Mon Sep 17 00:00:00 2001 From: Karl Hobley Date: Mon, 24 Oct 2016 00:51:36 +0100 Subject: [PATCH] Add a build matrix with different rocksdb versions --- .travis.yml | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 071a3b9..d375a20 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,13 +1,20 @@ language: rust - -rust: - - nightly - - 1.1.0 - - 1.2.0 - dist: trusty 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: apt: sources: @@ -21,8 +28,8 @@ addons: - libbz2-dev install: - - curl -L https://github.com/facebook/rocksdb/archive/4.13.fb.tar.gz | tar xvz -C $HOME/rocksdb - - sudo INSTALL_PATH=/usr make -C $HOME/rocksdb/rocksdb-4.13.fb install-shared + - 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-$ROCKSDB_VERSION.fb install-shared script: - cargo test