40 lines
594 B
YAML
40 lines
594 B
YAML
stages:
|
|
- lint
|
|
- test
|
|
- build
|
|
- deploy
|
|
|
|
before_script:
|
|
- flutter pub get
|
|
- flutter clean
|
|
|
|
linting-code:
|
|
stage: lint
|
|
script:
|
|
- flutter analyze --no-fatal-infos --no-fatal-warnings
|
|
tags:
|
|
- MacOS
|
|
|
|
unit-tests:
|
|
stage: test
|
|
script:
|
|
- flutter test
|
|
tags:
|
|
- MacOS
|
|
|
|
build-debug:
|
|
stage: build
|
|
only:
|
|
- branches
|
|
script:
|
|
- flutter build appbundle --debug
|
|
tags:
|
|
- MacOS
|
|
|
|
deploy-job:
|
|
stage: deploy
|
|
script:
|
|
- echo "Deploying application..."
|
|
- echo "Application successfully deployed. (JK gotta implement this sometime)"
|
|
tags:
|
|
- MacOS |