Try running on 1.24 stable (#11)
diff --git a/.travis.yml b/.travis.yml
index 3bbe7ba..b48179e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,6 +2,7 @@
sudo: false
dart:
+ - stable
- dev
dart_task:
@@ -9,6 +10,13 @@
- dartanalyzer
- dartfmt
+# 1.24 analyzer breaks on generic method syntax. Remove this exclusion when
+# there is a new stable version.
+matrix:
+ exclude:
+ - dart: stable
+ dart_task: dartanalyzer
+
# Only building master means that we don't run two builds for each pull request.
branches:
only: [master]
diff --git a/pubspec.yaml b/pubspec.yaml
index 5aedd11..4a71c68 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -6,4 +6,4 @@
dev_dependencies:
test: "^0.12.18"
environment:
- sdk: ">=2.0.0-dev.8.0 <3.0.0"
+ sdk: ">=1.24.0 <3.0.0"