A simple, humane, typed key-value storage solution.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rkv/.travis.yml

29 lines
1003 B

language: rust
cache: cargo
rust:
- stable
- beta
- nightly
os:
- linux
- osx
matrix:
allow_failures:
- rust: nightly
fast_finish: true
before_script:
# We install a known-to-have-rustfmt version of the nightly toolchain
# in order to run the nightly version of rustfmt, which supports rules
# that we depend upon.
- rustup toolchain install nightly-2019-02-07
- rustup component add rustfmt --toolchain nightly-2019-02-07
- command -v rustfmt || cargo install --force rustfmt-nightly
# install clippy via rustup, use the github source as a fallback
- rustup component add clippy || cargo install --git https://github.com/rust-lang/rust-clippy/ --force clippy
script:
- cargo +nightly-2019-02-07 fmt --all -- --check
# check all the targets (source code, tests, non-default crate features), and stop the build upon any warning
- cargo clippy --all-targets --all-features -- -D warnings
- cargo build --verbose
- cargo test --verbose
- ./run-all-examples.sh