This commit is contained in:
Christian Pauly 2019-06-09 14:34:28 +02:00
commit 5fe0b4015f
1 changed files with 18 additions and 14 deletions

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:
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