-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Attempt fixing the travis configuration
- Loading branch information
Showing
1 changed file
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,31 @@ | ||
language: dart | ||
dart: | ||
- stable | ||
- dev | ||
|
||
jobs: | ||
include: | ||
- stage: valid | ||
name: "Dart Analyzer" | ||
os: linux | ||
script: dart --enable-experiment=non-nullable analyze --fatal-warnings --fatal-infos . | ||
script: dartanalyzer --fatal-infos . | ||
- stage: valid | ||
name: "Dart Formatter" | ||
os: linux | ||
script: dart --enable-experiment=non-nullable format --output=none . | ||
script: dartfmt --dry-run --set-exit-if-changed . | ||
- stage: test | ||
name: "VM Tests" | ||
os: linux | ||
script: dart --enable-experiment=non-nullable test --platform vm test/all_test.dart | ||
script: pub run test test/all_test.dart --platform vm | ||
- stage: test | ||
name: "Chrome Tests" | ||
os: linux | ||
script: dart --enable-experiment=non-nullable test --platform chrome test/all_test.dart | ||
script: pub run test test/all_test.dart --platform chrome | ||
- stage: coverage | ||
name: "Coverage" | ||
os: linux | ||
script: pub global activate dart_coveralls && dart_coveralls report test/all_test.dart | ||
|
||
stages: | ||
- valid | ||
- test | ||
|
||
after_success: | ||
- pub global activate dart_coveralls | ||
- pub global run --enable-experiment=non-nullable dart_coveralls report test/all_test.dart | ||
|
||
- coverage |