Update Dart Version

This commit is contained in:
Niklas Zender 2020-06-09 10:10:23 +00:00 committed by Christian Pauly
parent 3975bcaea5
commit 3056eeb9bc

View file

@ -12,10 +12,10 @@ coverage:
script:
- apt update
- apt install -y curl gnupg2 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
- curl https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
- curl https://storage.googleapis.com/download.dartlang.org/linux/debian/dart_stable.list > /etc/apt/sources.list.d/dart_stable.list
- apt update
- apt install -y chromium lcov libolm3 sqlite3 libsqlite3-dev
- apt install -y dart chromium lcov libolm3 sqlite3 libsqlite3-dev
- ln -s /usr/lib/dart/bin/pub /usr/bin/
- useradd -m test
- chown -R 'test:' '.'
@ -27,19 +27,19 @@ coverage:
paths:
- coverage/
coverage_without_olm:
tags:
- linux
stage: coverage
image: debian:testing
coverage: '/^\s+lines.+: (\d+.\d*%)/'
dependencies: []
script:
- apt update
- apt install -y curl git sqlite3 libsqlite3-dev
- 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
- apt install -y curl gnupg2 git sqlite3 libsqlite3-dev
- curl https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
- curl https://storage.googleapis.com/download.dartlang.org/linux/debian/dart_stable.list > /etc/apt/sources.list.d/dart_stable.list
- apt update
- apt install -y dart
- ln -s /usr/lib/dart/bin/pub /usr/bin/
- useradd -m test
- chown -R 'test:' '.'
@ -102,4 +102,3 @@ pages:
- public
only:
- master