Skip to content

Commit

Permalink
Attempt fixing the travis configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
renggli committed Nov 22, 2020
1 parent fb2f6f1 commit 7e34f6d
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .travis.yml
@@ -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

0 comments on commit 7e34f6d

Please sign in to comment.