2019-06-09 10:16:48 +00:00
|
|
|
stages:
|
2019-06-09 12:14:59 +00:00
|
|
|
- coverage
|
|
|
|
- docs
|
2019-06-09 10:16:48 +00:00
|
|
|
|
|
|
|
variables:
|
|
|
|
LC_ALL: "en_US.UTF-8"
|
|
|
|
LANG: "en_US.UTF-8"
|
|
|
|
|
|
|
|
coverage:
|
2019-06-09 12:14:59 +00:00
|
|
|
image: cirrusci/flutter
|
2019-06-09 10:16:48 +00:00
|
|
|
stage: coverage
|
|
|
|
coverage: '/^\s+lines.+: (\d+.\d*%)/'
|
|
|
|
dependencies: []
|
|
|
|
script:
|
2019-06-09 12:14:59 +00:00
|
|
|
- sudo apt-get update -qq && sudo apt-get install -qq apt-transport-https curl gnupg lcov git
|
|
|
|
- ./scripts/test.sh
|
|
|
|
- ./scripts/coverage.sh
|
|
|
|
- flutter pub pub publish --dry-run
|
|
|
|
|
2019-06-09 12:19:49 +00:00
|
|
|
docs:1:
|
2019-06-09 12:14:59 +00:00
|
|
|
stage: docs
|
2019-06-09 12:19:49 +00:00
|
|
|
image: cirrusci/flutter
|
|
|
|
script:
|
|
|
|
- dartdoc
|
|
|
|
|
|
|
|
docs:2:
|
|
|
|
stage: docs
|
|
|
|
image: ruby:2.3
|
|
|
|
script:
|
|
|
|
- cd docs/api/ && bundle exec jekyll build -d test
|
|
|
|
- cd docs/api/ && bundle exec jekyll build -d public
|