forked from Jaguar-dart/jaguar_serializer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (37 loc) · 903 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
sudo: required
addons:
chrome: stable
# Created with https://github.com/dart-lang/mono_repo
language: dart
jobs:
include:
- stage: format
script: ./tool/travis.sh dartfmt
env: PKG="jaguar_serializer"
dart: dev
- stage: analyzer
script: ./tool/travis.sh analyze_ser
env: PKG="jaguar_serializer"
dart: dev
- stage: format
script: ./tool/travis.sh dartfmt
env: PKG="jaguar_serializer_cli"
dart: dev
- stage: analyzer
script: ./tool/travis.sh analyze_cli
env: PKG="jaguar_serializer_cli"
dart: dev
- stage: unit_test
script: ./tool/travis.sh test
env: PKG="jaguar_serializer_cli"
dart: dev
stages:
- analyzer
- unit_test
- format
# Only building master means that we don't run two builds for each pull request.
branches:
only: [master]
cache:
directories:
- $HOME/.pub-cache