Commit d85f1b34 authored by yangwu.jia's avatar yangwu.jia

travis tool

parent ed037a8a
...@@ -12,7 +12,7 @@ before_script: ...@@ -12,7 +12,7 @@ before_script:
- git clone https://github.com/flutter/flutter.git -b v1.9.1-hotfixes --depth 1 - git clone https://github.com/flutter/flutter.git -b v1.9.1-hotfixes --depth 1
- ./flutter/bin/flutter doctor - ./flutter/bin/flutter doctor
script: script:
- ./flutter/bin/flutter test --coverage --coverage-path=lcov.info - ./flutter/bin/flutter test ./test/lib/boost_test.dart --coverage --coverage-path=lcov.info
after_success: after_success:
- bash <(curl -s https://codecov.io/bash) - bash <(curl -s https://codecov.io/bash)
cache: cache:
......
import 'package:flutter_test/flutter_test.dart'; import 'package:flutter_test/flutter_test.dart';
import 'package:boost_test/unit/boost_channel_test.dart' as boost_channel; import 'unit/boost_channel_test.dart' as boost_channel;
import 'package:boost_test/unit/boost_container_test.dart' as boost_container; import 'unit/boost_container_test.dart' as boost_container;
import 'package:boost_test/unit/boost_page_route_test.dart' as boost_page_route; import 'unit/boost_page_route_test.dart' as boost_page_route;
import 'package:boost_test/unit/container_coordinator_test.dart' import 'unit/container_coordinator_test.dart'
as container_coordinator; as container_coordinator;
import 'package:boost_test/unit/container_manager_test.dart' import 'unit/container_manager_test.dart'
as container_manager; as container_manager;
import 'package:boost_test/unit/flutter_boost_test.dart' as flutter_boost; import 'unit/flutter_boost_test.dart' as flutter_boost;
void main() { void main() {
TestWidgetsFlutterBinding.ensureInitialized(); TestWidgetsFlutterBinding.ensureInitialized();
group('all_test', () { group('all_test', () {
boost_channel.main(); boost_channel.main();
boost_container.main(); // boost_container.main();
boost_page_route.main(); boost_page_route.main();
container_coordinator.main(); container_coordinator.main();
container_manager.main(); container_manager.main();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment