Merge pull request #2882 from lingyv-li/pin-dart-version

Pin dart version to 2.8.4 to get unit tests passing
This commit is contained in:
Terence Parr 2020-08-18 15:09:04 -07:00 committed by GitHub
commit b173138a3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 7 deletions

View File

@ -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

View File

@ -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
export PATH="$PATH:/usr/lib/dart/bin"
dart --version
command -v dart

View File

@ -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