Fix travis docs generation

This commit is contained in:
Pierre Krieger 2016-02-19 17:02:09 +01:00
parent aac5821202
commit 933a02fabd

View File

@ -26,10 +26,10 @@ after_success:
- |
[ $TRAVIS_BRANCH = master ] &&
[ $TRAVIS_PULL_REQUEST = false ] &&
cargo doc &&
cargo doc --manifest-path vulkano/Cargo.toml &&
npm install gitbook-cli -g &&
gitbook build ./book &&
mv ./book/_book ./target/doc/book &&
mv ./book/_book ./vulkano/target/doc/book &&
git clone https://github.com/davisp/ghp-import &&
./ghp-import/ghp-import target/doc &&
git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages