forked from flutter/assets-for-api-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.cirrus.yml
37 lines (31 loc) · 900 Bytes
/
.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
container:
image: cirrusci/flutter:base
task:
env:
BUILD_DIR: "/tmp/build"
CIRRUS_WORKING_DIR: "$BUILD_DIR/assets-for-api-docs"
FLUTTER_DIR: "$BUILD_DIR/flutter"
OS_NAME: "linux"
git_fetch_script: git fetch origin
setup_script: |
# Clone Flutter repo, pinned to the dev branch.
git clone --branch master https://github.com/flutter/flutter.git "$FLUTTER_DIR"
echo "Synced to revision: $(cd "$FLUTTER_DIR" && git rev-parse HEAD)"
# disable analytics on the bots and download Flutter dependencies
"$FLUTTER_DIR/bin/flutter" config --no-analytics
# upgrade packages
./ci/pub_upgrade.sh
matrix:
- name: analyze
env:
SHARD: analyze
test_script:
- ./ci/analyze.sh
- name: tests-linux
env:
SHARD: test
test_script:
- ./ci/testing.sh
container:
cpu: 4
memory: 8G