Merge pull request #174 from tomaka/travis-docs-headless

Generate docs for headless functionnalities too
This commit is contained in:
tomaka 2014-12-28 17:09:42 +01:00
commit 29bf3385ad

View file

@ -19,7 +19,7 @@ os:
after_success: | after_success: |
[ $TRAVIS_BRANCH = master ] && [ $TRAVIS_BRANCH = master ] &&
[ $TRAVIS_PULL_REQUEST = false ] && [ $TRAVIS_PULL_REQUEST = false ] &&
cargo doc && cargo doc --features "window headless" &&
echo '<meta http-equiv=refresh content=0;url=glutin/index.html>' > target/doc/index.html && echo '<meta http-equiv=refresh content=0;url=glutin/index.html>' > target/doc/index.html &&
sudo pip install ghp-import && sudo pip install ghp-import &&
ghp-import -n target/doc && ghp-import -n target/doc &&