-
Notifications
You must be signed in to change notification settings - Fork 362
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
25 changed files
with
168 additions
and
122 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,35 @@ | ||
language: dart | ||
|
||
dart: | ||
- dev | ||
- 2.4.0 | ||
- dev | ||
|
||
dart_task: | ||
- test: --platform vm,chrome | ||
- dartanalyzer: --fatal-infos --fatal-warnings . | ||
|
||
matrix: | ||
jobs: | ||
include: | ||
# Only validate formatting using the dev release | ||
- dart: dev | ||
dart_task: dartfmt | ||
- stage: analyze_and_format | ||
name: "Analyze" | ||
os: linux | ||
script: dartanalyzer --enable-experiment=non-nullable --fatal-warnings --fatal-infos . | ||
- stage: analyze_and_format | ||
name: "Format" | ||
os: linux | ||
script: dartfmt -n --set-exit-if-changed . | ||
- stage: test | ||
name: "Vm Tests" | ||
os: linux | ||
script: pub run --enable-experiment=non-nullable test -p vm | ||
- stage: test | ||
name: "Web Tests" | ||
os: linux | ||
script: pub run --enable-experiment=non-nullable test -p chrome | ||
|
||
stages: | ||
- analyze_and_format | ||
- test | ||
|
||
# Only building master means that we don't run two builds for each pull request. | ||
branches: | ||
only: [master] | ||
|
||
cache: | ||
directories: | ||
- $HOME/.pub-cache | ||
directories: | ||
- $HOME/.pub-cache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.