Skip to content

Commit 1312c3f

Browse files
kevmooHarry Terkelsen
authored andcommitted
Fix travis (flutter#20)
1 parent dfcbd59 commit 1312c3f

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

.travis.yml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,20 @@ dart:
55
- stable
66
- 1.22.1
77
- 1.21.1
8-
cache:
9-
directories:
10-
- $HOME/.pub-cache
8+
119
dart_task:
1210
- test: --platform vm
1311
- dartanalyzer
12+
1413
matrix:
1514
include:
16-
# Only validate formatting using the dev release
17-
# Formatted with 1.23.0-dev.10.0 which has (good) changes since 1.22.1
18-
- dart: dev
19-
dart_task: dartfmt
15+
- dart: stable
16+
dart_task: dartfmt
17+
18+
# Only building master means that we don't run two builds for each pull request.
19+
branches:
20+
only: [master]
21+
22+
cache:
23+
directories:
24+
- $HOME/.pub-cache

0 commit comments

Comments
 (0)