Created
January 16, 2019 17:08
-
-
Save Hecatoncheir/c2e29cd7298e9d1be5307bec4b824dc6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
stages: | |
- test | |
- deploy | |
unit_test: | |
image: brianegan/flutter_lcov:v0.5.1 | |
stage: test | |
script: | |
- flutter test --coverage | |
- genhtml coverage/lcov.info --output=coverage | |
artifacts: | |
paths: | |
- coverage/ | |
pages: | |
image: alpine | |
stage: deploy | |
dependencies: | |
- unit_test | |
script: | |
- mkdir public | |
- mv coverage/ public/coverage/ | |
artifacts: | |
paths: | |
- public | |
only: | |
- master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment