Welcome to mirror list, hosted at ThFree Co, Russian Federation.

script.sh « ci - github.com/windirstat/walkdir.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: efc9773d3b2420c909a9e4a5fe53cc9ebd71f4ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/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 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