blob: fc70ed4a38a2a13cb40cc93dccdcf1118d3922ef [file] [log] [blame]
language: dart
dart:
- dev
jobs:
include:
- dart: dev
script: pub run --enable-experiment=non-nullable test
os: linux
- dart: dev
script: pub run --enable-experiment=non-nullable test
os: windows
- dart: dev
script: pub run --enable-experiment=non-nullable test
os: osx
- dart_task: dartfmt
- dart_task:
dartanalyzer: --enable-experiment=non-nullable --fatal-infos --fatal-warnings .
- dart: dev
script: pub run --enable-experiment=non-nullable test -p chrome
os: linux
# Only building master means that we don't run two builds for each pull request.
# Temporarily adding `null_safety`
branches:
only: [master, null_safety]
cache:
directories:
- $HOME/.pub-cache