This repository has been archived by the owner on Apr 29, 2021. It is now read-only.
-
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.
Merge branch 'master' into armv4t_asm
- Loading branch information
Showing
50 changed files
with
882 additions
and
356 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,8 +1,38 @@ | ||
# Use the default dart configuration. | ||
language: dart | ||
sudo: false | ||
dart: | ||
- dev | ||
- stable | ||
|
||
# Avoid re-downloading packages across different builds if possible. | ||
cache: | ||
directories: | ||
- $HOME/.pub-cache | ||
script: ./tool/travis.sh | ||
|
||
# Check for analysis issues, run the test cases, and ensure `dartfmt` is run. | ||
dart_task: | ||
- dartanalyzer | ||
- pub run test -p vm | ||
- dartfmt | ||
|
||
# If we're successful this far, then report coverage information to coveralls. | ||
after_script: dart tool/coverage.dart | ||
|
||
# The Dart language is constantly being worked on, and sometimes the dev and | ||
# stable builds don't agree on what is considered formatted or what is analysis | ||
# warning free (though this does not effect _using_ the library, likely). | ||
# | ||
# * We exclude `dev` from formatting checks. | ||
# * We allow failures on `dev` for tests and the analyzer. | ||
matrix: | ||
allow_failures: | ||
- dart: dev | ||
dart_task: dartanalyzer | ||
- dart: dev | ||
dart_task: pub run test -p vm | ||
exclude: | ||
- dart: dev | ||
dart_task: dartfmt | ||
- dart: dev | ||
dart_task: dartanalyzer |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,54 @@ | ||
analyzer: | ||
strong-mode: true | ||
strong-mode: | ||
implicit-casts: false | ||
implicit-dynamic: false | ||
|
||
linter: | ||
rules: | ||
# Errors | ||
# Error Rules | ||
- avoid_empty_else | ||
- comment_references | ||
- control_flow_in_finally | ||
- empty_statements | ||
- hash_and_equals | ||
- invariant_booleans | ||
- iterable_contains_unrelated_type | ||
- list_remove_unrelated_type | ||
- no_adjacent_strings_in_list | ||
- no_duplicate_case_values | ||
- test_types_in_equals | ||
- throw_in_finally | ||
- unrelated_type_equality_checks | ||
- valid_regexps | ||
|
||
# Style | ||
# Style Rules | ||
- annotate_overrides | ||
- avoid_init_to_null | ||
- avoid_return_types_on_setters | ||
- await_only_futures | ||
- camel_case_types | ||
- comment_references | ||
- cascade_invocations | ||
- constant_identifier_names | ||
- directives_ordering | ||
- empty_catches | ||
- empty_constructor_bodies | ||
- hash_and_equals | ||
- implementation_imports | ||
- library_names | ||
- library_prefixes | ||
- non_constant_identifier_names | ||
- omit_local_variable_types | ||
- only_throw_errors | ||
- prefer_adjacent_string_concatenation | ||
- prefer_collection_literals | ||
- prefer_const_constructors | ||
- prefer_contains | ||
- prefer_final_fields | ||
- prefer_final_locals | ||
- prefer_initializing_formals | ||
- prefer_interpolation_to_compose_strings | ||
- prefer_is_empty | ||
- prefer_is_not_empty | ||
- recursive_getters | ||
- slash_for_doc_comments | ||
- type_init_formals | ||
- unrelated_type_equality_checks | ||
- unnecessary_brace_in_string_interps | ||
- unnecessary_this |
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.