Skip to content

Commit

Permalink
Auto merge of #1115 - mattico:try-travis-doc-fixme, r=Diggsey
Browse files Browse the repository at this point in the history
Re-enable doc uploading on travis

rust-lang/rust#32532 is fixed, so this might work now. Let's find out.
  • Loading branch information
bors committed May 18, 2017
2 parents 5a2d8af + 6c58f1d commit 07582cd
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions ci/prepare-deploy-travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}:[email protected]" >> ~/.git-credentials;
#cargo doc --release;
#echo '<meta http-equiv=refresh content=0;url=multirust/index.html>' > 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}:[email protected]" >> ~/.git-credentials;
cargo doc --release;
echo '<meta http-equiv=refresh content=0;url=multirust/index.html>' > 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
Expand Down

0 comments on commit 07582cd

Please sign in to comment.