diff --git a/.github/workflows/dart_ci.yaml b/.github/workflows/dart_ci.yaml index 6b951aa..c672d5b 100644 --- a/.github/workflows/dart_ci.yaml +++ b/.github/workflows/dart_ci.yaml @@ -13,6 +13,7 @@ jobs: test: runs-on: ubuntu-latest strategy: + fail-fast: false matrix: sdk: [ 2.7.2, stable, beta, dev ] steps: diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 3d2b4fd..0000000 --- a/.travis.yml +++ /dev/null @@ -1,19 +0,0 @@ -language: dart - -# Re-use downloaded pub packages everywhere. -cache: - directories: - - $HOME/.pub-cache - -dart: - # TODO: uncomment this when we have a way to only run the dartfmt check on - # the stable channel of Dart - # - 2.3.2 - - stable - - dev - -script: - - dartanalyzer . - - dartfmt -n --set-exit-if-changed . - - pub run dependency_validator -i build_config,pedantic - - pub run test diff --git a/example/project/pubspec.yaml b/example/project/pubspec.yaml index 519d24b..b868bf1 100644 --- a/example/project/pubspec.yaml +++ b/example/project/pubspec.yaml @@ -4,8 +4,9 @@ publish_to: none dev_dependencies: build_runner: ^1.7.1 - build_test: ^0.10.9 + build_test: ">=0.10.9 <2.0.0" build_web_compilers: ^2.6.3 - test: ^1.8.0 + meta: ">=1.2.2 <1.7.0" # Workaround to avoid https://github.com/dart-lang/sdk/issues/46142 + test: ^1.15.7 test_html_builder: path: ../.. diff --git a/pubspec.yaml b/pubspec.yaml index 0515245..ef6e530 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -25,9 +25,10 @@ dependencies: dev_dependencies: build_runner: ^1.3.0 - build_test: ^0.10.7+3 + build_test: ">=0.10.9 <2.0.0" build_web_compilers: ^2.3.0 dependency_validator: ^2.0.0 + meta: ">=1.2.2 <1.7.0" # Workaround to avoid https://github.com/dart-lang/sdk/issues/46142 pedantic: ^1.8.0 test_descriptor: ^1.2.0 test_process: ^1.0.5 @@ -36,3 +37,7 @@ dev_dependencies: # uncomment this and comment out the test_html_builder definition in # `build.yaml`. # json_serializable: ^3.0.0 + +dependency_validator: + ignore: + - meta diff --git a/test/bin/browser_aggregate_tests_test.dart b/test/bin/browser_aggregate_tests_test.dart index caf29c0..bfe5077 100644 --- a/test/bin/browser_aggregate_tests_test.dart +++ b/test/bin/browser_aggregate_tests_test.dart @@ -18,6 +18,7 @@ dev_dependencies: build_runner: any build_test: any build_web_compilers: any + meta: ">=1.2.2 <1.7.0" # Workaround to avoid https://github.com/dart-lang/sdk/issues/46142 test: any test_html_builder: path: ${p.current}