ci: still need before_script for docs

This commit is contained in:
Felix Krull 2019-08-28 01:05:26 +02:00 committed by Colin Walters
parent e4c82f6e8e
commit 35fde60318
1 changed files with 1 additions and 2 deletions

View File

@ -55,7 +55,7 @@ ostree_default-features:
# docs # docs
docs: docs:
stage: build stage: build
image: rustlang/rust:nightly image: rustlang/rust:nightly-buster
variables: variables:
RUSTDOC_OPTS: >- RUSTDOC_OPTS: >-
-Z unstable-options -Z unstable-options
@ -64,7 +64,6 @@ docs:
--extern-html-root-url gio_sys=https://gtk-rs.org/docs --extern-html-root-url gio_sys=https://gtk-rs.org/docs
--extern-html-root-url glib=https://gtk-rs.org/docs --extern-html-root-url glib=https://gtk-rs.org/docs
--extern-html-root-url gio=https://gtk-rs.org/docs --extern-html-root-url gio=https://gtk-rs.org/docs
before_script: []
script: script:
- make merge-lgpl-docs - make merge-lgpl-docs
- cargo rustdoc --verbose --package ostree-sys --features dox -- ${RUSTDOC_OPTS} - cargo rustdoc --verbose --package ostree-sys --features dox -- ${RUSTDOC_OPTS}