Test oldest supported SDK, on browser, and with stronger analysis
diff --git a/.travis.yml b/.travis.yml
index fc8e768..f63530c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,12 +1,23 @@
language: dart
dart:
+ - 2.0.0
- dev
dart_task:
- - test
- - dartfmt
- - dartanalyze
+ - test: --platform vm,chrome
+
+matrix:
+ include:
+ # Only validate formatting using the dev release
+ - dart: dev
+ dart_task: dartfmt
+ - dart: dev
+ dart_task:
+ dartanalyzer: --fatal-infos --fatal-warnings .
+ - dart: 2.0.0
+ dart_task:
+ dartanalyzer: --fatal-warnings .
# Only building master means that we don't run two builds for each pull request.
branches: