docker-flutter
Flutter + Lcov for code Coverage reports!
Usage
command line
build for android
docker run --rm \
-v "$(pwd):/src/" \
gableroux/flutter:v1.9.1+hotfix.6 \
bash -c "cd /src/ && flutter build apk --release"
run the tests
docker run --rm \
-v "$(pwd):/src/" \
gableroux/flutter:v1.9.1+hotfix.6 \
bash -c "cd /src/ && flutter test --coverage && genhtml coverage/lcov.info --output=coverage"
gitlab-ci example
See gableroux/gitlab_ci_flutter_example