blob: fa95d02d6bbc8bad5f570a4e1e75d628107d0358 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/bin/sh
set -ex
MSRV="1.23.0"
cargo build --verbose
# Give up testing on MSRV since our dev-dependencies no longer support it.
if [ "$TRAVIS_RUST_VERSION" = "$MSRV" ]; then
exit
fi
cargo build --verbose --all
cargo doc --verbose
cargo test --verbose
if [ "$TRAVIS_RUST_VERSION" = nightly ]; then
cargo +nightly generate-lockfile -Z minimal-versions
cargo build --verbose
cargo test --verbose
fi
|