pin dart version to 2.8.4 to get unit tests passing

This commit is contained in:
Larry Li 2020-08-19 06:36:32 +10:00
parent 2ba38605b9
commit c8571060f0
2 changed files with 2 additions and 2 deletions

View File

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

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