From 7c736919fb1b809a2adbe57cf478a98eaefbae8c Mon Sep 17 00:00:00 2001 From: tomaka Date: Sun, 28 Aug 2016 18:14:36 +0200 Subject: [PATCH] Documentation fix attempt --- .travis.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index b92d372d77b..506f0805865 100644 --- a/.travis.yml +++ b/.travis.yml @@ -39,13 +39,13 @@ after_success: - | [ $TRAVIS_BRANCH = master ] && [ $TRAVIS_PULL_REQUEST = false ] && - [ $TRAVIS_RUST_VERSION = nightly ] && - cargo doc -j 1 --features "glutin cgmath nalgebra" && + cargo install ghp && + export PATH=/home/travis/.cargo/bin:$PATH && + cargo doc && npm install gitbook-cli -g && gitbook build ./book && mv ./book/_book ./target/doc/book && - git clone https://github.com/davisp/ghp-import && - ./ghp-import/ghp-import target/doc && + ghp target/doc && git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages - | [ $TRAVIS_BRANCH = master ] &&