-
Notifications
You must be signed in to change notification settings - Fork 2
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
2 changed files
with
10 additions
and
25 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,27 +1,12 @@ | ||
language: dart | ||
dart: dev | ||
dart: stable | ||
|
||
jobs: | ||
include: | ||
- stage: analyze | ||
script: dartanalyzer --fatal-warnings . | ||
- stage: analyze | ||
script: dartfmt --dry-run --set-exit-if-changed . | ||
- stage: unit_test | ||
script: pub run test test/all_test.dart --platform vm | ||
- stage: unit_test | ||
script: pub run test test/all_test.dart --platform chrome | ||
- stage: coverage | ||
script: | ||
- pub global activate dart_coveralls | ||
- dart_coveralls report test/all_test.dart | ||
stages: | ||
- analyze | ||
- unit_test | ||
- coverage | ||
dart_task: | ||
- test: --platform vm | ||
- test: --platform chrome | ||
- dartanalyzer: --fatal-warnings --fatal-infos . | ||
- dart_style | ||
|
||
sudo: required | ||
cache: | ||
directories: | ||
- $HOME/.pub-cache | ||
- .dart_tool/build | ||
after_success: | ||
- pub global activate dart_coveralls | ||
- pub global run dart_coveralls report test/all_test.dart |
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