blob: 1dcd24db5f79b2624a0e1b554e46c459ba4d3b6c [file] [log] [blame]
language: dart
dart:
- dev
jobs:
include:
- stage: analyze_and_format
name: "Analyze"
os: linux
script: dart analyze --fatal-infos .
- stage: analyze_and_format
name: "Format"
os: linux
script: dart format -o none --set-exit-if-changed .
- stage: test
name: "Vm Tests"
os: linux
script: pub run test -p vm
- stage: test
name: "Web Tests"
os: linux
script: pub run test -p chrome
stages:
- analyze_and_format
- test
# Only building master means that we don't run two builds for each pull request.
branches:
only: [master]
cache:
directories:
- $HOME/.pub-cache