famedlysdk/.gitlab-ci.yml
Christian Pauly 5fe0b4015f Merge
2019-06-09 14:34:28 +02:00

37 lines
719 B
YAML

stages:
- coverage
- builddocs
- publishdocs
variables:
LC_ALL: "en_US.UTF-8"
LANG: "en_US.UTF-8"
coverage:
image: cirrusci/flutter
stage: coverage
coverage: '/^\s+lines.+: (\d+.\d*%)/'
dependencies: []
script:
- 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
builddocs:
stage: builddocs
image: cirrusci/flutter
script:
- dartdoc
artifacts:
paths:
- doc/api/
publishdocs:
stage: publishdocs
image: ruby:2.3
script:
- bundle exec jekyll build -d test
- bundle exec jekyll build -d public
dependencies:
- builddocs