Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Dart version <2.13 w/ null-safety #24

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
language: dart
dart:
- stable
- beta
- "2.10.3"
- "2.9.3"
- "2.8.4"
- "2.7.2"
before_install:
- sudo apt-get -y install libc6
script:
- pub get --packages-dir
- pub get
- pub run test
- pub run codecov --report-on=bin/ --no-html --verbose test/env_test.dart
- bash <(curl -s https://codecov.io/bash)
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ Depends on the following utilities:

Add this to your package's pubspec.yaml file:
```yaml
dependencies:
coverage: "^0.7.0"
codecov: "^0.4.0"
dev_dependencies:
coverage: ^0.15.0
codecov: ^1.0.0
```

Install:
```
pub get --packages-dir
pub get
```


Expand Down
2 changes: 2 additions & 0 deletions bin/codecov.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// @dart=2.9

// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
Expand Down
2 changes: 2 additions & 0 deletions bin/generate_coverage.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// @dart=2.9

// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
Expand Down
2 changes: 2 additions & 0 deletions bin/src/coverage.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// @dart=2.9

// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
Expand Down
2 changes: 2 additions & 0 deletions bin/src/env.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// @dart=2.9

// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
Expand Down
2 changes: 2 additions & 0 deletions bin/src/executable.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// @dart=2.9

// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
Expand Down
2 changes: 2 additions & 0 deletions bin/src/test.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// @dart=2.9

// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ dependencies:
logging: ">=0.9.0 <0.12.0"
path: "^1.6.3"
environment:
sdk: ">=2.0.0 <2.11.0"
sdk: ">=2.12.0-0 <2.13.0"
dev_dependencies:
coverage: "0.13.11"
test: "1.12.0"
Expand Down