forked from flutter/flutter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.cirrus.yml
52 lines (46 loc) · 1.24 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
container:
image: cirrusci/flutter:base
task:
env:
CIRRUS_WORKING_DIR: "/tmp/flutter sdk"
PATH: "$CIRRUS_WORKING_DIR/bin:$CIRRUS_WORKING_DIR/bin/cache/dart-sdk/bin:$PATH"
git_fetch_script: git fetch origin
setup_script: |
echo "SDK directory is: $PWD"
./bin/flutter --version
# disable analytics on the bots and download Flutter dependencies
./bin/flutter config --no-analytics
# run pub get in all the repo packages
./bin/flutter update-packages
matrix:
- name: docs
env:
SHARD: docs
docs_script: ./dev/bots/docs.sh
- name: analyze
env:
SHARD: analyze
test_script: dart ./dev/bots/test.dart
- name: tests-linux
env:
SHARD: tests
test_script: dart ./dev/bots/test.dart
container:
cpu: 4
memory: 8G
task:
name: tests-windows
env:
SHARD: tests
windows_container:
image: cirrusci/windowsservercore:2016
os_version: 2016
cpu: 4
env:
CIRRUS_WORKING_DIR: "C:\\Windows\\Temp\\flutter sdk"
git_fetch_script: git fetch origin
setup_script:
- bin\flutter.bat config --no-analytics
- bin\flutter.bat update-packages
test_all_script:
- bin\cache\dart-sdk\bin\dart.exe -c dev\bots\test.dart