From 10ccbf915ffa157c77aa661ee3f40e9827310951 Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Sat, 9 May 2020 13:24:14 +0000 Subject: [PATCH] Fix CI --- .gitlab-ci.yml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 875daec..bcbfafa 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -27,13 +27,21 @@ coverage: - su -c ./test.sh test coverage_without_olm: - image: cirrusci/flutter + image: debian:testing stage: coverage coverage: '/^\s+lines.+: (\d+.\d*%)/' dependencies: [] - script: - - flutter pub get - - flutter pub run test + script: + - apt update + - apt install -y curl git + - curl https://storage.googleapis.com/dart-archive/channels/stable/release/2.7.2/linux_packages/dart_2.7.2-1_amd64.deb > dart.deb + - apt install -y ./dart.deb + - ln -s /usr/lib/dart/bin/pub /usr/bin/ + - useradd -m test + - chown -R 'test:' '.' + - chmod +x ./test.sh + - pub get + - pub run test code_analyze: image: cirrusci/flutter