| language: dart |
| |
| dart: |
| # Because of build_runner difficulties with the null safety experiment, only |
| # run on dev channel for a while. |
| # - 2.6.0 |
| - dev |
| |
| dart_task: |
| # Using the expanded reporter to work-around |
| # https://github.com/dart-lang/markdown/issues/191 |
| - test: --reporter expanded |
| xvfb: false |
| - dartanalyzer: --fatal-warnings --fatal-infos . |
| |
| matrix: |
| include: |
| # Only validate formatting using the dev release |
| - dart: dev |
| dart_task: dartfmt |
| |
| # Only building master means that we don't run two builds for each pull request. |
| branches: |
| only: [master] |
| |
| cache: |
| directories: |
| - $HOME/.pub-cache |