This commit is contained in:
Christian Pauly 2019-06-09 14:34:28 +02:00
commit 5fe0b4015f

View file

@ -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:
paths:
- doc/api/
publishdocs:
stage: publishdocs
image: ruby:2.3
script: script:
- cd docs/api/ && bundle exec jekyll build -d test - bundle exec jekyll build -d test
- cd docs/api/ && bundle exec jekyll build -d public - bundle exec jekyll build -d public
only: dependencies:
- master - builddocs