This commit is contained in:
Maximilian Roos 2019-09-11 13:06:59 -04:00
parent 3c9a0e0e1a
commit dbefbcb046
No known key found for this signature in database
GPG Key ID: 3232F28BEDA66FCD

View File

@ -19,7 +19,10 @@ steps:
curl https://sh.rustup.rs -sSf | sh -s -- -y --no-modify-path --default-toolchain `cat rust-toolchain`
export PATH=$HOME/.cargo/bin:$PATH
rustc -Vv
cargo install rustfmt
echo "##vso[task.prependpath]$HOME/.cargo/bin"
displayName: Install Rust
- bash: RUSTFLAGS="-D warnings" cargo test --all-features
displayName: Run tests
- bash: cargo fmt
displayName: Lint