commit
35cb53c60c
@ -1,13 +1,40 @@ |
||||
language: rust |
||||
dist: trusty |
||||
sudo: true |
||||
|
||||
rust: |
||||
- nightly |
||||
- 1.1.0 |
||||
- 1.2.0 |
||||
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 |
||||
|
||||
os: |
||||
- linux |
||||
- osx |
||||
addons: |
||||
apt: |
||||
sources: |
||||
- ubuntu-toolchain-r-test |
||||
packages: |
||||
- gcc-5 |
||||
- g++-5 |
||||
- libgflags-dev |
||||
- libsnappy-dev |
||||
- zlib1g-dev |
||||
- libbz2-dev |
||||
|
||||
install: |
||||
- 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: |
||||
- rustc -Z parse-only src/lib.rs |
||||
- cargo test |
||||
|
||||
cache: |
||||
directories: |
||||
- $HOME/.cache/ |
||||
- $HOME/rocksdb/ |
||||
|
Loading…
Reference in new issue