Added dummy `df` statements to debug the travis failures (#526)
https://internals.rust-lang.org/t/rustdoc-ice-in-ci-build/6480/2
This commit is contained in:
parent
b9ab71b231
commit
2b943d703f
|
@ -11,6 +11,9 @@ if [ "$TRAVIS_PULL_REQUEST" != "false" ] ||
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
export RUST_BACKTRACE=full
|
||||||
|
df -h
|
||||||
|
|
||||||
# Make sure we have the css dependencies
|
# Make sure we have the css dependencies
|
||||||
npm install -g stylus nib
|
npm install -g stylus nib
|
||||||
|
|
||||||
|
@ -22,9 +25,11 @@ rev=$(git rev-parse --short HEAD)
|
||||||
|
|
||||||
echo -e "${CYAN}Running cargo doc${NC}"
|
echo -e "${CYAN}Running cargo doc${NC}"
|
||||||
cargo doc --features regenerate-css
|
cargo doc --features regenerate-css
|
||||||
|
df -h
|
||||||
|
|
||||||
echo -e "${CYAN}Running mdbook build${NC}"
|
echo -e "${CYAN}Running mdbook build${NC}"
|
||||||
cargo run -- build book-example/
|
cargo run -- build book-example/
|
||||||
|
df -h
|
||||||
|
|
||||||
echo -e "${CYAN}Copying book to target/doc${NC}"
|
echo -e "${CYAN}Copying book to target/doc${NC}"
|
||||||
cp -R book-example/book/* target/doc/
|
cp -R book-example/book/* target/doc/
|
||||||
|
@ -39,6 +44,7 @@ git config user.email "michaelfbryan@gmail.com"
|
||||||
git remote add upstream "https://$GH_TOKEN@github.com/rust-lang-nursery/mdBook.git"
|
git remote add upstream "https://$GH_TOKEN@github.com/rust-lang-nursery/mdBook.git"
|
||||||
git fetch upstream --quiet
|
git fetch upstream --quiet
|
||||||
git reset upstream/gh-pages --quiet
|
git reset upstream/gh-pages --quiet
|
||||||
|
df -h
|
||||||
|
|
||||||
touch .
|
touch .
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue