language: dart | |
dart: | |
- dev | |
dart_task: | |
- test | |
matrix: | |
include: | |
# Only validate formatting using the dev release | |
- dart: dev | |
dart_task: dartfmt | |
- dart: dev | |
dart_task: analyzer | |
# Only building master means that we don't run two builds for each pull request. | |
branches: | |
only: [master] | |
cache: | |
directories: | |
- $HOME/.pub-cache |