forked from agilord/aws_client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
60 lines (56 loc) · 2 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
51
52
53
54
55
56
57
58
59
60
# Created with package:mono_repo v2.3.0
language: dart
jobs:
include:
- stage: smoke_test
name: "SDK: stable; PKG: aws_client; TASKS: [`dartfmt -n --set-exit-if-changed .`, `dartanalyzer --fatal-infos --fatal-warnings .`]"
dart: stable
os: linux
env: PKGS="aws_client"
script: ./tool/travis.sh dartfmt dartanalyzer
- stage: smoke_test
name: "SDK: stable; PKG: document_client; TASKS: [`dartfmt -n --set-exit-if-changed .`, `dartanalyzer --fatal-infos --fatal-warnings .`]"
dart: stable
os: linux
env: PKGS="document_client"
script: ./tool/travis.sh dartfmt dartanalyzer
- stage: smoke_test
name: "SDK: stable; PKG: generator; TASKS: [`dartfmt -n --set-exit-if-changed .`, `dartanalyzer --fatal-infos --fatal-warnings .`]"
dart: stable
os: linux
env: PKGS="generator"
script: ./tool/travis.sh dartfmt dartanalyzer
- stage: smoke_test
name: "SDK: stable; PKG: shared_aws_api; TASKS: [`dartfmt -n --set-exit-if-changed .`, `dartanalyzer --fatal-infos --fatal-warnings .`]"
dart: stable
os: linux
env: PKGS="shared_aws_api"
script: ./tool/travis.sh dartfmt dartanalyzer
- stage: unit_test
name: "SDK: stable; PKG: document_client; TASKS: `pub run test -j 1 --run-skipped`"
dart: stable
os: linux
env: PKGS="document_client"
script: ./tool/travis.sh test
- stage: unit_test
name: "SDK: stable; PKG: generator; TASKS: `pub run test -j 1 --run-skipped`"
dart: stable
os: linux
env: PKGS="generator"
script: ./tool/travis.sh test
- stage: unit_test
name: "SDK: stable; PKG: shared_aws_api; TASKS: `pub run test -j 1 --run-skipped`"
dart: stable
os: linux
env: PKGS="shared_aws_api"
script: ./tool/travis.sh test
stages:
- smoke_test
- 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"