Skip to content

Commit f72141b

Browse files
authored
Update .travis.yml
1 parent e42f8ec commit f72141b

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

.travis.yml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,18 @@
11
language: dart
2-
os:
3-
- linux
4-
sudo: false
2+
dart:
3+
- stable
4+
- dev
55
script:
6+
- dartanalyzer --fatal-infos --fatal-warnings ./lib ./test
7+
- dartfmt -n ./lib --set-exit-if-changed
68
- pub get
7-
- pub run test test/rx_redux_test.dart
9+
- pub global activate coverage
10+
- pub run test/rx_redux_test.dart
11+
- dart --disable-service-auth-codes --enable-vm-service=8111 --pause-isolates-on-exit test/rx_redux_test.dart &
12+
- nohup pub global run coverage:collect_coverage --port=8111 --out=coverage.json --wait-paused --resume-isolates
13+
- pub global run coverage:format_coverage --lcov --in=coverage.json --out=lcov.info --packages=.packages --report-on=lib
14+
after_success:
15+
- bash <(curl -s https://codecov.io/bash)
816
cache:
917
directories:
10-
- $HOME/.pub-cache
18+
- $HOME/.pub-cache

0 commit comments

Comments
 (0)