Update to latest test_* deps (#148)
Add `test_api` and `test_core` to `dev_dependencies` in addition to
`dependency_overrides`. This prevents a warning on publish about
overriding non-dev dependencies.
Use `any` constraints` for the `dev_dependencies` since they are already
constrained correctly by `dependency_overrides`.
Bump min SDK in pubspec and on Travis to match the latest `test`.
diff --git a/.travis.yml b/.travis.yml
index d7e0f55..e58adbc 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,7 +1,7 @@
language: dart
dart:
- - 2.4.0
+ - 2.7.0
- dev
dart_task:
diff --git a/pubspec.yaml b/pubspec.yaml
index 7abee2a..507964a 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -7,16 +7,18 @@
homepage: https://github.com/dart-lang/matcher
environment:
- sdk: '>=2.4.0 <3.0.0'
+ sdk: '>=2.7.0 <3.0.0'
dependencies:
stack_trace: ^1.2.0
dev_dependencies:
pedantic: ^1.4.0
- test: '>=0.12.0 <2.0.0'
+ test: any
+ test_api: any
+ test_core: any
dependency_overrides:
- test: ^1.12.0
- test_api: ^0.2.14
- test_core: ^0.3.0
+ test: ^1.15.0
+ test_api: ^0.2.17
+ test_core: ^0.3.10