b3811cf0d1
A better pattern is to put benchmarks in the `benches` directory; that way, `cargo test` won’t pick them up by default, and so it won’t fail on the stable and beta channels.
10 lines
175 B
YAML
10 lines
175 B
YAML
language: rust
|
|
rust:
|
|
- nightly
|
|
- beta
|
|
- stable
|
|
script:
|
|
- if [[ "$(rustc --version)" =~ -(dev|nightly) ]]; then cargo bench; fi
|
|
- cargo test
|
|
- cargo test --release
|