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:
commit
b173138a3b
|
@ -153,6 +153,9 @@ matrix:
|
||||||
env: TARGET=csharp
|
env: TARGET=csharp
|
||||||
stage: main-test
|
stage: main-test
|
||||||
- os: linux
|
- os: linux
|
||||||
|
language: dart
|
||||||
|
dart:
|
||||||
|
- "2.8.4"
|
||||||
jdk: openjdk8
|
jdk: openjdk8
|
||||||
env: TARGET=dart
|
env: TARGET=dart
|
||||||
stage: main-test
|
stage: main-test
|
||||||
|
|
|
@ -2,9 +2,5 @@
|
||||||
|
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
sudo apt-get -y install apt-transport-https
|
dart --version
|
||||||
sudo sh -c 'wget -qO- https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -'
|
command -v dart
|
||||||
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"
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ install:
|
||||||
- git submodule update --init --recursive
|
- git submodule update --init --recursive
|
||||||
- cinst -y php --params "/InstallDir:C:\tools\php"
|
- cinst -y php --params "/InstallDir:C:\tools\php"
|
||||||
- cinst -y composer
|
- cinst -y composer
|
||||||
- cinst -y dart-sdk
|
- cinst -y dart-sdk --version=2.8.4
|
||||||
build_script:
|
build_script:
|
||||||
- mvn -DskipTests install --batch-mode
|
- 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
|
- 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
|
||||||
|
|
Loading…
Reference in New Issue