Update .gitlab-ci.yml
This commit is contained in:
parent
2596ae582f
commit
b36a612b43
|
@ -1,6 +1,7 @@
|
||||||
stages:
|
stages:
|
||||||
- coverage
|
- coverage
|
||||||
- docs
|
- builddocs
|
||||||
|
- publishdocs
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
LC_ALL: "en_US.UTF-8"
|
LC_ALL: "en_US.UTF-8"
|
||||||
|
@ -17,15 +18,20 @@ coverage:
|
||||||
- ./scripts/coverage.sh
|
- ./scripts/coverage.sh
|
||||||
- flutter pub pub publish --dry-run
|
- flutter pub pub publish --dry-run
|
||||||
|
|
||||||
docs:1:
|
builddocs:
|
||||||
stage: docs
|
stage: builddocs
|
||||||
image: cirrusci/flutter
|
image: cirrusci/flutter
|
||||||
script:
|
script:
|
||||||
- dartdoc
|
- dartdoc
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- doc/api/
|
||||||
|
|
||||||
docs:2:
|
publishdocs:
|
||||||
stage: docs
|
stage: docs
|
||||||
image: ruby:2.3
|
image: ruby:2.3
|
||||||
script:
|
script:
|
||||||
- cd docs/api/ && bundle exec jekyll build -d test
|
- cd docs/api/ && bundle exec jekyll build -d test
|
||||||
- cd docs/api/ && bundle exec jekyll build -d public
|
- cd docs/api/ && bundle exec jekyll build -d public
|
||||||
|
dependencies:
|
||||||
|
- builddocs
|
Loading…
Reference in a new issue