diff options
author | Andrew Gallant <jamslam@gmail.com> | 2019-04-30 20:31:08 +0300 |
---|---|---|
committer | Andrew Gallant <jamslam@gmail.com> | 2019-04-30 20:32:15 +0300 |
commit | 830fc25acfd96197c79cc466f5a711749c90eb2b (patch) | |
tree | 5de0ab7d260c883c47a6c048955c2af878d4721f | |
parent | 45deac4d7eb7eaf63f6156ce04f6dfd987da7a17 (diff) |
ci: stop testing on MSRV, build only
-rwxr-xr-x | ci/script.sh | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/ci/script.sh b/ci/script.sh index 6d71f90..efc9773 100755 --- a/ci/script.sh +++ b/ci/script.sh @@ -4,19 +4,14 @@ set -ex MSRV="1.23.0" -# If we're building on 1.23, then lazy_static 1.2 will fail to build since it -# updated its MSRV to 1.24.1. In this case, we force the use of lazy_static 1.1 -# to build on Rust 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 - cargo update -p lazy_static --precise 1.1.0 - # On older versions of Cargo, this apparently needs to be run twice - # if Cargo.lock didn't previously exist. Since this command should be - # idempotent, we run it again unconditionally. - cargo update -p lazy_static --precise 1.1.0 + exit fi cargo doc --verbose -cargo build --verbose cargo test --verbose if [ "$TRAVIS_RUST_VERSION" = "nightly" ]; then |