forked from dnfield/flutter_svg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.cirrus.yml
28 lines (26 loc) · 803 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
container:
image: cirrusci/flutter:latest
env:
CI_NAME: "CirrusCI"
CI_BUILD_NUMBER: $CIRRUS_TASK_ID
CI_BUILD_URL: "https://cirrus-ci.com/task/$CIRRUS_TASK_ID"
CI_BRANCH: $CIRRUS_BRANCH
CI_PULL_REQUEST: $CIRRUS_PR
COVERALLS_REPO_TOKEN: ENCRYPTED[61ba3fee193a9ed6116e0f61bbe26fe8c0452287e5dfd86c728e2f1f24327818d6c74c956d7b9cbf3bd6236489af0fd1]
test_task:
matrix:
- name: stable
channel_script: |
flutter channel stable
flutter upgrade
- name: master
channel_script: |
flutter channel master
flutter upgrade
pub_cache:
folder: ~/.pub-cache
analyze_script: flutter analyze .
test_script: flutter test --coverage
coveralls_script: |
dart pub global activate coveralls
dart pub global run coveralls coverage/lcov.info