-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
38 lines (38 loc) · 951 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
language: dart
sudo: required
addons:
chrome: stable
matrix:
include:
- dart: dev
script:
- dartanalyzer --fatal-lints --fatal-warnings lib/ test/
- dart: dev
script:
- dartfmt --set-exit-if-changed -l 120 -n .
- dart: dev
dart_task:
test: --platform firefox -j 1
- dart: dev
dart_task:
test: --platform chrome
- dart: stable
script:
- dartanalyzer --fatal-lints --fatal-warnings lib/ test/
- dart: stable
dart_task:
test: --platform firefox -j 1
- dart: stable
dart_task:
test: --platform chrome
#TODO: does not work
# - dart: dev
# script:
# - pub run dart_dev coverage
# - bash <(curl -s https://codecov.io/bash) -f coverage/coverage.lcov
# Only building master means that we don't run two builds for each pull request.
branches:
only: [master]
cache:
directories:
- $HOME/.pub-cache