Merge
This commit is contained in:
commit
5fe0b4015f
|
@ -1,8 +1,7 @@
|
||||||
image: cirrusci/flutter
|
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- coverage
|
- coverage
|
||||||
- docs
|
- builddocs
|
||||||
|
- publishdocs
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
LC_ALL: "en_US.UTF-8"
|
LC_ALL: "en_US.UTF-8"
|
||||||
|
@ -19,15 +18,20 @@ coverage:
|
||||||
- ./scripts/coverage.sh
|
- ./scripts/coverage.sh
|
||||||
- flutter pub pub publish --dry-run
|
- flutter pub pub publish --dry-run
|
||||||
|
|
||||||
docs:
|
builddocs:
|
||||||
stage: docs
|
stage: builddocs
|
||||||
scripts:
|
image: cirrusci/flutter
|
||||||
- image: cirrusci/flutter
|
script:
|
||||||
script:
|
|
||||||
- dartdoc
|
- dartdoc
|
||||||
- image: ruby:2.3
|
artifacts:
|
||||||
script:
|
paths:
|
||||||
- cd docs/api/ && bundle exec jekyll build -d test
|
- doc/api/
|
||||||
- cd docs/api/ && bundle exec jekyll build -d public
|
|
||||||
only:
|
publishdocs:
|
||||||
- master
|
stage: publishdocs
|
||||||
|
image: ruby:2.3
|
||||||
|
script:
|
||||||
|
- bundle exec jekyll build -d test
|
||||||
|
- bundle exec jekyll build -d public
|
||||||
|
dependencies:
|
||||||
|
- builddocs
|
Loading…
Reference in a new issue