Update travis config

master
Karl Hobley 8 years ago
parent 31cc40a1fe
commit 59ddbe55bd
  1. 24
      .travis.yml

@ -2,37 +2,21 @@ language: rust
dist: trusty dist: trusty
sudo: true sudo: true
matrix: rust:
include: - stable
- rust: stable - beta
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:
- ubuntu-toolchain-r-test - ubuntu-toolchain-r-test
packages: packages:
- gcc-5
- g++-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: script:
- cargo test --manifest-path=rocksdb-sys/Cargo.toml
- cargo test - cargo test
cache: cache:
directories: directories:
- $HOME/.cache/ - $HOME/.cache/
- $HOME/rocksdb/

Loading…
Cancel
Save