-
Notifications
You must be signed in to change notification settings - Fork 21
/
.travis.yml
50 lines (46 loc) · 1.41 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
43
44
45
46
47
48
49
50
# Created with package:mono_repo v2.3.0
language: dart
jobs:
include:
- stage: smoke_test
name: "SDK: stable; PKG: edgehead; TASKS: dartfmt && dartanalyzer"
dart: stable
os: linux
env: PKGS="edgehead"
script: ./tool/travis.sh dartfmt dartanalyzer
- stage: smoke_test
name: "SDK: stable; PKG: egamebook_builder; TASKS: dartfmt && dartanalyzer"
dart: stable
os: linux
env: PKGS="egamebook_builder"
script: ./tool/travis.sh dartfmt dartanalyzer
- stage: build
name: "SDK: stable; PKG: edgehead; TASKS: `pub run build_runner build --delete-conflicting-outputs`"
dart: stable
os: linux
env: PKGS="edgehead"
script: ./tool/travis.sh command_0
- stage: unit_test
name: "SDK: stable; PKG: edgehead; TASKS: [`pub run test`, `pub run test -t long-running --run-skipped`]"
dart: stable
os: linux
env: PKGS="edgehead"
script: ./tool/travis.sh command_1 command_2
- stage: unit_test
name: "SDK: stable; PKG: egamebook_builder; TASKS: `pub run test`"
dart: stable
os: linux
env: PKGS="egamebook_builder"
script: ./tool/travis.sh command_1
stages:
- smoke_test
- build
- 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"
- egamebook_builder/.dart_tool/build