@@ -5,9 +5,9 @@ sudo: required
5
5
dist : trusty
6
6
7
7
dart :
8
- - stable
8
+ - dev
9
9
10
- env : FORCE_TEST_EXIT=true DARTIUM_EXPIRATION_TIME=1550044800LL
10
+ env : FORCE_TEST_EXIT=true
11
11
12
12
# Content shell needs these fonts.
13
13
addons :
@@ -38,45 +38,14 @@ before_install:
38
38
- ln -s `pwd`/`echo drt-linux-*`/content_shell bin/content_shell
39
39
40
40
dart_task :
41
- # Browser tests take particularly long on Dartium, so we split them up into different tasks.
42
- - test : --platform dartium
43
- install_dartium : true
44
-
41
+ - dartfmt
42
+ - dartanalyzer
45
43
# Split the tests into five shards to help parallelize them across Travis workers.
46
- - test : --preset travis --total-shards 5 --shard-index 0
47
- install_dartium : true
48
- - test : --preset travis --total-shards 5 --shard-index 1
49
- install_dartium : true
50
- - test : --preset travis --total-shards 5 --shard-index 2
51
- install_dartium : true
52
- - test : --preset travis --total-shards 5 --shard-index 3
53
- install_dartium : true
54
- - test : --preset travis --total-shards 5 --shard-index 4
55
- install_dartium : true
56
-
57
- matrix :
58
- include :
59
- # Browser tests take particularly long, so we split them up into different tasks.
60
- - dart : dev
61
- dart_task : {test: --platform chrome}
62
-
63
- # Split the tests into five shards to help parallelize them across Travis workers.
64
- # Don't run Dartium tests on dev because 2.0.0 doesn't support Dartium anymore.
65
- - dart : dev
66
- dart_task : {test: --preset travis --total-shards 5 --shard-index 0 -x dartium}
67
- - dart : dev
68
- dart_task : {test: --preset travis --total-shards 5 --shard-index 1 -x dartium}
69
- - dart : dev
70
- dart_task : {test: --preset travis --total-shards 5 --shard-index 2 -x dartium}
71
- - dart : dev
72
- dart_task : {test: --preset travis --total-shards 5 --shard-index 3 -x dartium}
73
- - dart : dev
74
- dart_task : {test: --preset travis --total-shards 5 --shard-index 4 -x dartium}
75
-
76
- - dart : dev
77
- dart_task : dartfmt
78
- - dart : dev
79
- dart_task : dartanalyzer
44
+ - test : --preset travis --total-shards 5 --shard-index 0 -x dartium
45
+ - test : --preset travis --total-shards 5 --shard-index 1 -x dartium
46
+ - test : --preset travis --total-shards 5 --shard-index 2 -x dartium
47
+ - test : --preset travis --total-shards 5 --shard-index 3 -x dartium
48
+ - test : --preset travis --total-shards 5 --shard-index 4 -x dartium
80
49
81
50
# Only building master means that we don't run two builds for each pull request.
82
51
branches :
0 commit comments