Merge branch 'ChristianPauly-master-patch-03593' into 'master'

Fix CI

See merge request famedly/famedlysdk!283
This commit is contained in:
Christian Pauly 2020-05-09 13:24:14 +00:00
commit 05c99d2b04

View file

@ -27,13 +27,21 @@ coverage:
- su -c ./test.sh test - su -c ./test.sh test
coverage_without_olm: coverage_without_olm:
image: cirrusci/flutter image: debian:testing
stage: coverage stage: coverage
coverage: '/^\s+lines.+: (\d+.\d*%)/' coverage: '/^\s+lines.+: (\d+.\d*%)/'
dependencies: [] dependencies: []
script: script:
- flutter pub get - apt update
- flutter pub run test - 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: code_analyze:
image: cirrusci/flutter image: cirrusci/flutter