Make sure libsqlite3.so is available for CI tests

This commit is contained in:
Simon Binder 2019-11-09 10:45:35 +01:00
parent 623f3212a1
commit 82a6fd9f2d
No known key found for this signature in database
GPG Key ID: 7891917E4147B8C0
4 changed files with 5 additions and 3 deletions

View File

@ -1,6 +1,6 @@
# Run tasks with the dart SDK installed by default
container:
image: "google/dart:latest"
dockerfile: tool/Dockerfile
# We're currently not running tests with coverage because the free cirrus containers run out of memory :(

View File

@ -26,7 +26,6 @@ dev_dependencies:
build_test: ^0.10.8
test: ^1.9.0
mockito: ^4.1.0
grinder: ^0.8.3
dependency_overrides:
moor_generator:

3
tool/Dockerfile Normal file
View File

@ -0,0 +1,3 @@
FROM google/dart:latest
RUN apt-get update && apt-get install -y -q libsqlite3-dev

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash
pushd extras/coverage_formatting
pub upgrade
pub upgrade --no-precompile
popd
dart extras/coverage_formatting/bin/coverage.dart