From 7b3f9f54c64ec4fe8feac560afe4399583d2c6a1 Mon Sep 17 00:00:00 2001 From: NikVolf Date: Tue, 4 Apr 2017 16:32:30 +0300 Subject: [PATCH] travis doc test --- .travis.yml | 6 ++++++ 1 file changed, 6 insertions(+) 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