/docker-flutter

Flutter + Lcov for code Coverage reports!

Primary LanguageDockerfileMIT LicenseMIT

docker-flutter

Docker Stars Docker Pulls Docker Automated Docker Build Image Version Layers

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

License

MIT © Gabriel Le Breton