Update .gitlab-ci.yml
This commit is contained in:
parent
5ad2d4b7ce
commit
2c4c400f8b
|
@ -1,13 +1,15 @@
|
||||||
image: cirrusci/flutter
|
image: cirrusci/flutter
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- coverage
|
- coverage
|
||||||
|
- docs
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
LC_ALL: "en_US.UTF-8"
|
LC_ALL: "en_US.UTF-8"
|
||||||
LANG: "en_US.UTF-8"
|
LANG: "en_US.UTF-8"
|
||||||
|
|
||||||
coverage:
|
coverage:
|
||||||
|
image: cirrusci/flutter
|
||||||
stage: coverage
|
stage: coverage
|
||||||
coverage: '/^\s+lines.+: (\d+.\d*%)/'
|
coverage: '/^\s+lines.+: (\d+.\d*%)/'
|
||||||
dependencies: []
|
dependencies: []
|
||||||
|
@ -16,3 +18,16 @@ coverage:
|
||||||
- ./scripts/test.sh
|
- ./scripts/test.sh
|
||||||
- ./scripts/coverage.sh
|
- ./scripts/coverage.sh
|
||||||
- flutter pub pub publish --dry-run
|
- flutter pub pub publish --dry-run
|
||||||
|
|
||||||
|
docs:
|
||||||
|
stage: docs
|
||||||
|
scripts:
|
||||||
|
- image: cirrusci/flutter
|
||||||
|
script:
|
||||||
|
- dartdoc
|
||||||
|
- image: ruby:2.3
|
||||||
|
script:
|
||||||
|
- cd docs/api/ && bundle exec jekyll build -d test
|
||||||
|
- cd docs/api/ && bundle exec jekyll build -d public
|
||||||
|
only:
|
||||||
|
- master
|
Loading…
Reference in a new issue