forked from 3to1null/flutter_uploader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.cirrus.yml
38 lines (36 loc) · 1.05 KB
/
.cirrus.yml
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
code_style_task:
container:
dockerfile: .ci/Dockerfile
cpu: 8
memory: 16G
# upgrade_script:
# - flutter channel master
# - flutter upgrade
# - git fetch origin master
# activate_script: pub global activate flutter_plugin_tools
matrix:
- name: test+format
# install_script:
# - wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
# - sudo apt-add-repository "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-7 main"
# - sudo apt-get update
# - sudo apt-get install -y --allow-unauthenticated clang-format-7
format_script: script/format.sh
- name: analyze
script:
- pub global activate tuneup
- flutter packages get
- pub global run tuneup check
android_task:
container:
dockerfile: .ci/Dockerfile
cpu: 8
memory: 16G
build_script:
- cd example && flutter build apk --release
ios_task:
osx_instance:
image: mojave-flutter
build_script:
- pod repo update
- cd example && flutter build ios --release --no-codesign