language: dart
sudo: false
dart:
  - dev
  - stable
dart_task:
  - test: --platform vm
  - dartanalyzer: --fatal-warnings .
  - dartfmt

matrix:
  allow_failures:
  - 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

language: dart
sudo: false
dart:
  - dev
  - stable
dart_task:
  - test: --platform vm
  - dartanalyzer: --fatal-warnings .

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

Move to use dev dartfmt
Move to use dev dartfmt
