Run cargo-deadlinks in CI.
This commit is contained in:
parent
42f4ace5a0
commit
b786d897e2
|
@ -1,6 +1,6 @@
|
||||||
language: rust
|
language: rust
|
||||||
rust:
|
rust:
|
||||||
- 1.29.0
|
- 1.29.1
|
||||||
cache:
|
cache:
|
||||||
cargo: true
|
cargo: true
|
||||||
timeout: 1200
|
timeout: 1200
|
||||||
|
@ -10,6 +10,7 @@ addons:
|
||||||
- unzip
|
- unzip
|
||||||
before_install:
|
before_install:
|
||||||
- rustup component add --toolchain=${TRAVIS_RUST_VERSION} rustfmt-preview clippy-preview
|
- rustup component add --toolchain=${TRAVIS_RUST_VERSION} rustfmt-preview clippy-preview
|
||||||
|
- cargo install cargo-deadlinks
|
||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
- RUST_BACKTRACE=1
|
- RUST_BACKTRACE=1
|
||||||
|
@ -19,3 +20,5 @@ script:
|
||||||
- cargo clippy --tests --examples --benches -- --deny clippy
|
- cargo clippy --tests --examples --benches -- --deny clippy
|
||||||
- cargo fmt -- --check
|
- cargo fmt -- --check
|
||||||
- cargo test --all-features --release
|
- cargo test --all-features --release
|
||||||
|
- cargo doc
|
||||||
|
- cargo deadlinks --dir target/doc/threshold_crypto/
|
||||||
|
|
Loading…
Reference in New Issue