-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from Workiva/dart2_compat
WP-6538 Dart 2 and DDC compatibility changes.
- Loading branch information
Showing
15 changed files
with
170 additions
and
90 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,12 +1,20 @@ | ||
language: dart | ||
|
||
dart: | ||
- stable | ||
with_content_shell: true | ||
before_install: | ||
- export DISPLAY=:99.0 | ||
- sh -e /etc/init.d/xvfb start | ||
- sleep 3 | ||
- dev | ||
|
||
# Workaround for issue with sandboxed Chrome in containerized Travis builds. | ||
sudo: required | ||
addons: | ||
chrome: stable | ||
|
||
# Re-use downloaded pub packages everywhere. | ||
cache: | ||
directories: | ||
- $HOME/.pub-cache | ||
|
||
before_script: npm install | ||
script: | ||
- npm install | ||
- pub run dart_dev test --unit | ||
- pub run dart_dev test --integration | ||
- pub run dart_dev analyze | ||
- ./tool/travis.sh test |
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,7 +1,9 @@ | ||
# analysis_options.yaml docs: https://www.dartlang.org/guides/language/analysis-options | ||
analyzer: | ||
strong-mode: true | ||
|
||
linter: | ||
rules: | ||
- cancel_subscriptions | ||
- close_sinks | ||
# Strong mode is required. Applies to the current project. | ||
strong-mode: | ||
# When compiling to JS, both implicit options apply to the current | ||
# project and all dependencies. They are useful to find possible | ||
# Type fixes or areas for explicit typing. | ||
implicit-casts: true | ||
implicit-dynamic: true |
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.