From c8571060f03a588cf4f04c951981014eedc51156 Mon Sep 17 00:00:00 2001 From: Larry Li Date: Wed, 19 Aug 2020 06:36:32 +1000 Subject: [PATCH 1/2] pin dart version to 2.8.4 to get unit tests passing --- .travis/before-install-linux-dart.sh | 2 +- appveyor.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis/before-install-linux-dart.sh b/.travis/before-install-linux-dart.sh index f9f8266ff..923de9554 100755 --- a/.travis/before-install-linux-dart.sh +++ b/.travis/before-install-linux-dart.sh @@ -6,5 +6,5 @@ sudo apt-get -y install apt-transport-https sudo sh -c 'wget -qO- https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -' sudo sh -c 'wget -qO- https://storage.googleapis.com/download.dartlang.org/linux/debian/dart_stable.list > /etc/apt/sources.list.d/dart_stable.list' sudo apt-get -q update -sudo apt-get -y install dart +sudo apt-get -y install dart=2.8.4 export PATH="$PATH:/usr/lib/dart/bin" diff --git a/appveyor.yml b/appveyor.yml index 545aab084..275a26d03 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -8,7 +8,7 @@ install: - git submodule update --init --recursive - cinst -y php --params "/InstallDir:C:\tools\php" - cinst -y composer - - cinst -y dart-sdk + - cinst -y dart-sdk --version=2.8.4 build_script: - mvn -DskipTests install --batch-mode - msbuild /target:restore /target:rebuild /property:Configuration=Release /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /verbosity:detailed runtime/CSharp/runtime/CSharp/Antlr4.dotnet.sln From 1eb6c3ee5251107d93590fb9d6a44c12bd4b5125 Mon Sep 17 00:00:00 2001 From: Larry Li Date: Wed, 19 Aug 2020 07:16:58 +1000 Subject: [PATCH 2/2] pin dart version to 2.8.4 --- .travis.yml | 3 +++ .travis/before-install-linux-dart.sh | 8 ++------ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 85147d97b..bf55d1827 100644 --- a/.travis.yml +++ b/.travis.yml @@ -153,6 +153,9 @@ matrix: env: TARGET=csharp stage: main-test - os: linux + language: dart + dart: + - "2.8.4" jdk: openjdk8 env: TARGET=dart stage: main-test diff --git a/.travis/before-install-linux-dart.sh b/.travis/before-install-linux-dart.sh index 923de9554..a0611962f 100755 --- a/.travis/before-install-linux-dart.sh +++ b/.travis/before-install-linux-dart.sh @@ -2,9 +2,5 @@ set -euo pipefail -sudo apt-get -y install apt-transport-https -sudo sh -c 'wget -qO- https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -' -sudo sh -c 'wget -qO- https://storage.googleapis.com/download.dartlang.org/linux/debian/dart_stable.list > /etc/apt/sources.list.d/dart_stable.list' -sudo apt-get -q update -sudo apt-get -y install dart=2.8.4 -export PATH="$PATH:/usr/lib/dart/bin" +dart --version +command -v dart