From 6c58f1d30f34eb612daf76ed10ae8cac9e0fa572 Mon Sep 17 00:00:00 2001 From: Matt Ickstadt Date: Fri, 12 May 2017 14:36:32 -0500 Subject: [PATCH] Re-enable doc uploading on travis rust-lang/rust#32532 is fixed, so this might work now. Let's find out. --- ci/prepare-deploy-travis.sh | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/ci/prepare-deploy-travis.sh b/ci/prepare-deploy-travis.sh index 730e118410..488e78dcfb 100644 --- a/ci/prepare-deploy-travis.sh +++ b/ci/prepare-deploy-travis.sh @@ -12,15 +12,13 @@ fi # Upload docs if [[ "$TARGET" == "x86_64-unknown-linux-gnu" && "$TRAVIS_BRANCH" == "stable" ]]; then - # FIXME rust-lang/rust#32532 - printf "not uploading docs" - #git config --global credential.helper store; - #echo "https://${TOKEN}:x-oauth-basic@github.com" >> ~/.git-credentials; - #cargo doc --release; - #echo '' > target/doc/index.html; - #sudo pip install ghp-import; - #ghp-import -n target/doc; - #git push -qf https://${TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages; + git config --global credential.helper store; + echo "https://${TOKEN}:x-oauth-basic@github.com" >> ~/.git-credentials; + cargo doc --release; + echo '' > target/doc/index.html; + sudo pip install ghp-import; + ghp-import -n target/doc; + git push -qf https://${TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages; fi; # Copy rustup-init to rustup-setup for backwards compatibility