forked from flutter/devtools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
70 lines (63 loc) · 1.95 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
os:
- linux
- osx
- windows
language: dart
dart:
- "dev/raw/latest"
# Exclude stable for now as we depend on Flutter features not availabe on
# stable.
# - stable
addons:
chrome: stable
matrix:
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/raw/latest"
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
env:
- BOT=main
- BOT=test_ddc
- BOT=test_dart2js
- BOT=integration_ddc
- BOT=integration_dart2js
- BOT=integration_dart2js USE_LOCAL_DEPENDENCIES=true
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