From 776b1d0f98c9a819c79af00eda4bacbafa11c0b4 Mon Sep 17 00:00:00 2001 From: Alex Helfet Date: Wed, 27 Dec 2017 13:50:52 +0000 Subject: [PATCH] cargo doc builds run with --no-deps. Should be faster. --- bin/build_local | 2 +- bin/travis/script | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/bin/build_local b/bin/build_local index 313c516..89a1996 100755 --- a/bin/build_local +++ b/bin/build_local @@ -10,5 +10,5 @@ for tc in nightly stable beta; do cargo +${tc} test --verbose --no-default-features; cargo +${tc} test --verbose --no-default-features --features=typed; cargo +${tc} test --verbose --features=trace; - cargo +${tc} doc --verbose; + cargo +${tc} doc --verbose --no-deps; done diff --git a/bin/travis/script b/bin/travis/script index 68ab0b2..84687d3 100755 --- a/bin/travis/script +++ b/bin/travis/script @@ -1,6 +1,8 @@ #!/usr/bin/env bash set -e +# TODO: Fix me. + echo "TRAVIS_RUST_VERSION: '${TRAVIS_RUST_VERSION}'" set -x @@ -8,4 +10,4 @@ cargo test --verbose; cargo test --verbose --no-default-features; cargo test --verbose --no-default-features --features=typed; cargo test --verbose --features=trace; -cargo doc --verbose; +cargo doc --verbose --no-deps;