Skip to content

Commit

Permalink
intergate with coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
JZoom committed Jun 9, 2018
1 parent 8bc28e2 commit 07f99ea
Show file tree
Hide file tree
Showing 5 changed files with 89 additions and 55 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ build/
ios/.generated/
ios/Flutter/Generated.xcconfig
ios/Runner/GeneratedPluginRegistrant.*
coverage/lcov.info
135 changes: 83 additions & 52 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ install:
- ./dev/bots/travis_install.sh
script:
- ./dev/bots/travis_script.sh
after_success:
- coveralls-lcov coverage/lcov.info
2 changes: 2 additions & 0 deletions dev/bots/travis_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@ export PATH=~/development/flutter/bin:$PATH

cd $ROOT
flutter packages get

gem install coveralls-lcov
4 changes: 1 addition & 3 deletions dev/bots/travis_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ else
# tests shard
cd $ROOT

flutter test test/control_test.dart || exit $?
flutter test test/flutter_swiper_test.dart || exit $?
flutter test test/pagination_test.dart || exit $?
flutter test --coverage test/* || exit $?

fi

0 comments on commit 07f99ea

Please sign in to comment.