-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (38 loc) · 1.14 KB
/
.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
# Created with package:mono_repo v2.3.0
language: dart
jobs:
include:
- stage: analyze
name: "SDK: dev; PKG: packages/migrate_base; TASKS: `dartanalyzer --fatal-infos --fatal-warnings .`"
dart: dev
os: linux
env: PKGS="packages/migrate_base"
script: ./tool/travis.sh dartanalyzer
- stage: analyze
name: "SDK: dev; PKG: packages/migrate_to_1; TASKS: `dartanalyzer --fatal-infos --fatal-warnings .`"
dart: dev
os: linux
env: PKGS="packages/migrate_to_1"
script: ./tool/travis.sh dartanalyzer
- stage: unit_test
name: "SDK: dev; PKG: packages/migrate_base; TASKS: `pub run test`"
dart: dev
os: linux
env: PKGS="packages/migrate_base"
script: ./tool/travis.sh test
- stage: unit_test
name: "SDK: dev; PKG: packages/migrate_to_1; TASKS: `pub run test`"
dart: dev
os: linux
env: PKGS="packages/migrate_to_1"
script: ./tool/travis.sh test
stages:
- analyze
- unit_test
# Only building master means that we don't run two builds for each pull request.
branches:
only:
- master
cache:
directories:
- "$HOME/.pub-cache"