diff --git a/.travis.yml b/.travis.yml index 8c91a74..450bd32 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,3 +6,9 @@ rust: matrix: allow_failures: - rust: nightly +after_success: | + cargo doc \ + && 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 \ No newline at end of file