Debian Codegraph @

.cirrus.yml

raw symbols SCIP
1 test_task:
2 matrix:
3 - container:
4 image: rust:1.40.0
5 - container:
6 image: rust:latest
7 - container:
8 image: rustlang/rust:nightly
9 env:
10 # rustc 1.31.0-nightly 2018-10-20 on Travis reports ODR violations within
11 # asan itself.
12 # https://travis-ci.org/asomers/divbuf/jobs/447109902
13 ASAN_OPTIONS: "detect_odr_violation=0"
14 cargo_cache:
15 folder: $CARGO_HOME/registry
16 test_script:
17 - cargo test --all-features
18 clippy_script:
19 - if rustc --version | grep -q nightly; then
20 - rustup component add clippy
21 - cargo clippy --all-features --all-targets -- -D warnings
22 - fi
23 audit_script:
24 - if rustc --version | grep -q nightly; then
25 - cargo install cargo-audit
26 - cargo audit
27 - fi
28 bench_script:
29 - if rustc --version | grep -q nightly; then
30 - cargo test --all-features --bench '*'
31 - fi
32 fmt_script:
33 - if rustc --version | grep -q nightly; then
34 - rustup component add rustfmt
35 - cargo fmt -- --check
36 - fi
37 asan_script:
38 - if rustc --version | grep -q nightly; then
39 - env RUSTFLAGS="-Z sanitizer=address" cargo test --all-features --tests
40 - fi
41 before_cache_script: rm -rf $CARGO_HOME/registry/index
42
43 minver_task:
44 depends_on:
45 - test
46 matrix:
47 - container:
48 image: rustlang/rust:nightly
49 cargo_cache:
50 folder: $CARGO_HOME/registry
51 test_script:
52 - cargo update -Zminimal-versions
53 - cargo test
54 before_cache_script: rm -rf $CARGO_HOME/registry/index