forked from lejard-h/chopper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (37 loc) · 1002 Bytes
/
.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
# Created with https://github.com/dart-lang/mono_repo
language: dart
# Custom configuration
sudo: required
addons:
chrome: stable
install:
- gem install coveralls-lcov
jobs:
include:
- stage: analyze_format_test
name: "SDK: stable - chopper"
script: ./tool/travis.sh build dartanalyzer dartfmt test
env: PKG="chopper"
dart: stable
- stage: analyze_format_test
name: "SDK: stable - chopper generator"
script: ./tool/travis.sh dartanalyzer dartfmt
env: PKG="chopper_generator"
dart: stable
- stage: analyze_format_test
name: "SDK: stable - example"
script: ./tool/travis.sh build dartanalyzer dartfmt
env: PKG="example"
dart: stable
stages:
- analyze_format_test
# Only building master means that we don't run two builds for each pull request.
branches:
only:
- master
cache:
directories:
- "$HOME/.pub-cache"
- chopper/.dart_tool
- chopper_generator/.dart_tool
- example/.dart_tool