language: dart
dart:
  - dev
  - stable

dart_task:
  - test
  - dartfmt
  - dartanalyzer

# Only building master means that we don't run two builds for each pull request.
branches:
  only: [master]

cache:
  directories:
    - $HOME/.pub-cache
language: dart
sudo: false
dart:
  - dev
  - stable

dart_task:
  - test
  - dartanalyzer

matrix:
  include:
  - 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
Check with only latest dartfmt
Check with only latest dartfmt
