-
Notifications
You must be signed in to change notification settings - Fork 12
/
codemagic.yaml
39 lines (38 loc) · 1.02 KB
/
codemagic.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Automatically generated on 2020-02-11 UTC from https://codemagic.io/app/5d360a1b3b905a001cfaa874/settings
# Note that this configuration is not an exact match to UI settings. Review and adjust as necessary.
workflows:
default-workflow:
name: Default Workflow
environment:
flutter: flutte-1.19.0-4.1.pre
xcode: latest
cache:
cache_paths:
- $FCI_BUILD_DIR/build
triggering:
events:
- pull_request
branch_patterns:
- pattern: master
include: true
source: true
scripts:
- flutter packages pub get
- flutter config --enable-web
- flutter analyze
- flutter test
- |
flutter config --enable-linux-desktop --enable-macos-desktop
flutter devices
- |
# build web
flutter build web --release
cd build/web
7z a -r ../web.zip ./*
artifacts:
- build/web.zip
- flutter_drive.log
publishing:
email:
recipients:
- polanski.tomek@gmail.com