language: rust dist: trusty sudo: true os: - linux - osx - windows rust: - stable - beta addons: apt: sources: - ubuntu-toolchain-r-test - llvm-toolchain-trusty packages: - g++-5 - llvm-3.9-dev - libclang-3.9-dev - clang-3.9 install: - rustup component add rustfmt - rustfmt -V script: - cargo fmt --all -- --check - cargo test --manifest-path=librocksdb-sys/Cargo.toml - cargo test cache: cargo before_cache: - rm -rfv target/