blob: 785c7c2e4bbceaf3948f081deb03a91804c327dd [file] [log] [blame]
language: dart
dart:
- be/raw/latest
jobs:
include:
- stage: analyze_and_format
name: "Analyze"
dart: be/raw/latest
os: linux
script: dartanalyzer --enable-experiment=non-nullable --fatal-warnings --fatal-infos .
- stage: analyze_and_format
name: "Format"
dart: be/raw/latest
os: linux
script: dartfmt -n --set-exit-if-changed .
- stage: test
name: "Vm Tests"
dart: be/raw/latest
os: linux
script: pub run --enable-experiment=non-nullable test -p vm
stages:
- analyze_and_format
- test
# Only building master means that we don't run two builds for each pull request.
branches:
only: [master, null_safety]
cache:
directories:
- $HOME/.pub-cache