#!/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