Add docs build

This commit is contained in:
Felix Krull 2018-10-16 20:28:37 +02:00 committed by Colin Walters
parent 1d571d7910
commit 93d3a55a1c
1 changed files with 12 additions and 0 deletions

View File

@ -7,6 +7,7 @@ before_script:
stages:
- build
- doc
- publish
libostree-sys:
@ -49,6 +50,17 @@ libostree_nightly:
- cargo test --verbose --package libostree
allow_failure: true
# docs
pages:
stage: doc
script:
- cargo doc --verbose --all-features
- cp -r target/doc public
artifacts:
paths:
- public
only:
- master
# publish
publish_libostree-sys: