blob: f63530ca89a01fdf9fd513d0cf8bb0cc2ef22732 [file] [log] [blame]
language: dart
dart:
- 2.0.0
- dev
dart_task:
- test: --platform vm,chrome
matrix:
include:
# Only validate formatting using the dev release
- dart: dev
dart_task: dartfmt
- dart: dev
dart_task:
dartanalyzer: --fatal-infos --fatal-warnings .
- dart: 2.0.0
dart_task:
dartanalyzer: --fatal-warnings .
# Only building master means that we don't run two builds for each pull request.
branches:
only: [master]
cache:
directories:
- $HOME/.pub-cache