chore: set max SDK version to <3.0.0 (#14)
diff --git a/.travis.yml b/.travis.yml
index aaab84c..697317e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,16 +2,19 @@
dart:
- dev
+
dart_task:
+ - dartfmt
+ - dartanalyzer
- test
-# Only run one instance of the formatter and the analyzer, rather than running
+ # Only run one instance of the formatter and the analyzer, rather than running
# them against each Dart version.
matrix:
- include:
- - dart: dev
+ exclude:
+ - dart: stable
dart_task: dartfmt
- - dart: dev
+ - dart: stable
dart_task: dartanalyzer
# Only building master means that we don't run two builds for each pull request.
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 7788e3c..28a19e3 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,7 @@
+## 1.0.4
+
+* Set max SDK version to `<3.0.0`, and adjust other dependencies.
+
## 1.0.3
* Support test `1.x.x`.
diff --git a/analysis_options.yaml b/analysis_options.yaml
deleted file mode 100644
index a10d4c5..0000000
--- a/analysis_options.yaml
+++ /dev/null
@@ -1,2 +0,0 @@
-analyzer:
- strong-mode: true
diff --git a/pubspec.yaml b/pubspec.yaml
index 605797f..80f4d31 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -1,17 +1,18 @@
name: test_process
-version: 1.0.3
+version: 1.0.4
+
description: A package for testing subprocesses.
author: Dart Team <misc@dartlang.org>
homepage: https://github.com/dart-lang/test_process
environment:
- sdk: '>=2.0.0-dev.55.0 <2.0.0'
+ sdk: '>=2.0.0-dev.55.0 <3.0.0'
dependencies:
- async: ">=1.12.0 <3.0.0"
- meta: ">=0.9.0 <2.0.0"
- path: "^1.0.0"
- test: ">=0.12.19 <2.0.0"
+ async: '>=1.12.0 <3.0.0'
+ meta: '>=0.9.0 <2.0.0'
+ path: ^1.0.0
+ test: '>=0.12.42 <2.0.0'
dev_dependencies:
- test_descriptor: "^1.0.0"
+ test_descriptor: ^1.0.0
diff --git a/test/test_process_test.dart b/test/test_process_test.dart
index ad728e8..08d8693 100644
--- a/test/test_process_test.dart
+++ b/test/test_process_test.dart
@@ -11,7 +11,7 @@
import 'package:test_descriptor/test_descriptor.dart' as d;
import 'package:test_process/test_process.dart';
-final throwsTestFailure = throwsA(new isInstanceOf<TestFailure>());
+final throwsTestFailure = throwsA(new TypeMatcher<TestFailure>());
void main() {
group("shouldExit()", () {