mirror of https://github.com/breard-r/acmed.git
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.
35 lines
593 B
35 lines
593 B
language: rust
|
|
dist: xenial
|
|
|
|
rust:
|
|
- "1.36.0"
|
|
- "1.37.0"
|
|
- "1.38.0"
|
|
- "1.39.0"
|
|
- "1.40.0"
|
|
- "1.41.1"
|
|
- "1.42.0"
|
|
- "1.43.1"
|
|
- "stable"
|
|
- "beta"
|
|
- "nightly"
|
|
|
|
jobs:
|
|
allow_failure:
|
|
- rust: "nightly"
|
|
include:
|
|
- name: Run cargo audit
|
|
rust: stable
|
|
env: TASK=audit
|
|
fast_finish: true
|
|
|
|
install:
|
|
- cargo build --verbose
|
|
- if [ "$TASK" = "audit" ]; then cargo install cargo-audit; fi
|
|
|
|
script:
|
|
- if [ "$TASK" = "audit" ]; then
|
|
cargo audit;
|
|
else
|
|
cargo test --verbose;
|
|
fi
|