forked from google/inject.dart
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (33 loc) · 907 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
language: dart
# We currently are building against the Dart2 SDK.
dart:
- dev
# Gives more resources on Travis (8GB Ram, 2CPUs).
# Do not remove without verifying w/ Travis.
sudo: required
# Only building master means that we don't run two builds for each pull request.
branches:
only: [master]
# Re-use downloaded pub packages everywhere.
cache:
directories:
- $HOME/.pub-cache
# Build stages: https://docs.travis-ci.com/user/build-stages/.
stages:
- presubmit
- building
- testing
jobs:
- stage: presubmit
script: ./tool/travis.sh analyze
env: PKG="example/coffee"
- stage: presubmit
script: ./tool/travis.sh analyze
env: PKG="example/train"
- stage: presubmit
script: ./tool/travis.sh analyze
env: PKG="package/inject"
- stage: presubmit
script: ./tool/travis.sh analyze
env: PKG="package/inject_generator"
# TODO: Add build, test phases.