2018-05-01 22:11:21 +00:00
|
|
|
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
|
2018-05-03 18:24:02 +00:00
|
|
|
env:
|
|
|
|
SHARD: docs
|
2018-05-01 22:11:21 +00:00
|
|
|
docs_script: ./dev/bots/docs.sh
|
|
|
|
- name: analyze
|
2018-05-03 18:24:02 +00:00
|
|
|
env:
|
|
|
|
SHARD: analyze
|
2018-05-01 22:11:21 +00:00
|
|
|
test_script: dart ./dev/bots/test.dart
|
2018-05-03 18:24:02 +00:00
|
|
|
- name: tests-linux
|
|
|
|
env:
|
|
|
|
SHARD: tests
|
2018-05-01 22:11:21 +00:00
|
|
|
test_script: dart ./dev/bots/test.dart
|
|
|
|
container:
|
|
|
|
cpu: 4
|
|
|
|
memory: 8G
|
|
|
|
|
2018-05-03 18:24:02 +00:00
|
|
|
task:
|
|
|
|
name: tests-windows
|
|
|
|
env:
|
|
|
|
SHARD: tests
|
2018-05-01 22:11:21 +00:00
|
|
|
windows_container:
|
|
|
|
dockerfile: dev/bots/docker/Dockerfile.windows
|
|
|
|
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
|