Skip to content

Commit bceba84

Browse files
committed
Add .travis file
1 parent f62d1a6 commit bceba84

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.travis.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
language: dart
2+
sudo: false
3+
4+
dart:
5+
- dev
6+
- stable
7+
8+
dart_task:
9+
- test
10+
- dartfmt
11+
- dartanalyzer
12+
13+
# Only run one instance of the formatter and the analyzer, rather than running
14+
# them against each Dart version.
15+
matrix:
16+
include:
17+
- dart: stable
18+
dart_task: dartfmt
19+
- dart: dev
20+
dart_task: dartanalyzer
21+
22+
# Only building master means that we don't run two builds for each pull request.
23+
branches:
24+
only: [master]
25+
26+
cache:
27+
directories:
28+
- $HOME/.pub-cache

0 commit comments

Comments
 (0)