ci: Use the ci template
This commit is contained in:
parent
b95edec462
commit
a1e8971c39
|
|
@ -1,28 +1,18 @@
|
||||||
stages:
|
include:
|
||||||
- coverage
|
project: "famedly/company/frontend/ci-templates"
|
||||||
- publish
|
file: "all.yml"
|
||||||
|
|
||||||
test:
|
test:
|
||||||
tags:
|
tags:
|
||||||
- linux
|
- linux
|
||||||
stage: coverage
|
stage: test
|
||||||
image: dart
|
image: dart
|
||||||
script:
|
script:
|
||||||
- dart pub get
|
- dart pub get
|
||||||
- dart pub run test
|
- dart pub run test
|
||||||
|
|
||||||
code_analyze:
|
|
||||||
tags:
|
|
||||||
- docker
|
|
||||||
stage: coverage
|
|
||||||
image: cirrusci/flutter
|
|
||||||
dependencies: []
|
|
||||||
script:
|
|
||||||
- flutter format lib/ test/ --set-exit-if-changed
|
|
||||||
- flutter analyze
|
|
||||||
|
|
||||||
dry-run:
|
dry-run:
|
||||||
stage: publish
|
stage: deploy
|
||||||
image: dart
|
image: dart
|
||||||
script:
|
script:
|
||||||
- rm -rf ./docs
|
- rm -rf ./docs
|
||||||
|
|
@ -30,7 +20,7 @@ dry-run:
|
||||||
- dart pub publish --dry-run
|
- dart pub publish --dry-run
|
||||||
|
|
||||||
pub-dev:
|
pub-dev:
|
||||||
stage: publish
|
stage: deploy
|
||||||
image: dart
|
image: dart
|
||||||
dependencies: [dry-run]
|
dependencies: [dry-run]
|
||||||
script:
|
script:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue