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