8 RUSTDOCFLAGS: -Dwarnings
14 RUSTDOCFLAGS: -Dwarnings
17 image: rustlang/rust:nightly
19 CARGO_ARGS: --all-features
21 RUSTDOCFLAGS: -Dwarnings
23 folder: $CARGO_HOME/registry
25 - cd plugins/rust; cargo build $CARGO_ARGS
27 - cd plugins/rust; cargo test $CARGO_ARGS
29 - cd plugins/rust; cargo build $CARGO_ARGS --examples
31 - cd plugins/rust; cargo doc $CARGO_ARGS --no-deps
32 before_cache_script: rm -rf $CARGO_HOME/registry/index
42 image: rustlang/rust:nightly
45 RUSTDOCFLAGS: -Dwarnings
47 folder: $CARGO_HOME/registry
50 - cargo update -Zminimal-versions
51 - cargo test --all-features
52 before_cache_script: rm -rf $CARGO_HOME/registry/index
58 image: rustlang/rust:nightly
60 folder: $CARGO_HOME/registry
62 - rustup component add clippy
64 - cargo clippy --all-features --all-targets -- -D warnings
65 before_cache_script: rm -rf $CARGO_HOME/registry/index