forked from flutter/devtools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
77 lines (67 loc) · 2.09 KB
/
.travis.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
os:
- linux
- osx
# TODO(devoncarew): Skip testing on windows bots to work around a travis regression.
#- windows
language: dart
dart:
- dev
# Exclude stable for now as we depend on Flutter features not availabe on
# stable.
# - stable
addons:
chrome: stable
matrix:
fast_finish: true
exclude:
# Skip main bot for Stable build since it does formatting/building checks;
# - Formatting will fail on old SDK if the formatter changed in latest.
# - Builds are always done by us on latest SDKs so we don't need to ensure
# we can build on an older SDK.
- dart: stable
env: BOT=main
# TODO(https://github.com/flutter/devtools/issues/1161): Skip test bots for dart
# stable on Linux. They are failing with incompatible kernel versions right now.
- os: linux
dart: stable
env: BOT=test_ddc
- os: linux
dart: stable
env: BOT=test_dart2js
# TODO(dantup): Skip Flutter builds until we understand/fix Flutter crashing
# with "failed to delete build/assets: file is locked by another process".
- os: windows
env:
- BOT=flutter_sdk_tests
- BOT=test_ddc
- BOT=test_dart2js
- BOT=integration_ddc
- BOT=integration_dart2js
include:
- dart: dev
env: BOT=packages
# Allow windows bots to fail until we can make the windows tests less flaky.
# https://github.com/flutter/devtools/issues/963
allow_failures:
- os: windows
- os: osx
env:
- BOT=main
- BOT=test_ddc PLATFORM=vm
- BOT=test_ddc PLATFORM=chrome
- BOT=test_dart2js PLATFORM=vm
- BOT=test_dart2js PLATFORM=chrome
- BOT=integration_ddc
- BOT=integration_dart2js
script: ./tool/travis.sh
# Specifying master here means that we don't run two builds for each pull request
# made from within the DevTools repo, however it complicates running builds on
# forks without opening PRs.
# See https://github.com/flutter/devtools/pull/398
# branches:
# only: [master]
#cache:
# directories:
# - $HOME/.pub-cache # macOS / Linux
# - $APPDATA/Roaming/Pub/Cache # Windows
# - packages/devtools_app/.dart_tool/build