# Absolutely essential: we must build using VS 2019.
os: Visual Studio 2019

branches:
  only:
  - master


build_script:
  - cmd: date /t
  - cmd: time /t
  - cmd: tzutil /g
  - cmd: curl -fsS -o antlr-4.8-complete.jar "https://www.antlr.org/download/antlr-4.8-complete.jar"
  - cmd: set Antlr4ToolPath=C:\projects\antlrvsix\antlr-4.8-complete.jar
  - cmd: set JAVA_EXEC=C:\Progra~1\Java\jdk1.8.0\bin\java.exe
  - cmd: set
  - cmd: MSBuild.exe /t:restore /p:Configuration=Debug /v:quiet AntlrVSIX.sln
  - cmd: MSBuild.exe /p:Configuration=Debug /v:normal AntlrVSIX.sln

artifacts:
  - path: '**\*.vsix'

# Absolutely essential: we must build using VS 2019.
os: Visual Studio 2019

branches:
  only:
  - master


build_script:
  - cmd: date /t
  - cmd: time /t
  - cmd: tzutil /g
  - cmd: curl -fsS -o antlr-4.8-complete.jar "https://www.antlr.org/download/antlr-4.8-complete.jar"
  - cmd: set Antlr4ToolPath=C:\projects\antlrvsix\antlr-4.8-complete.jar
  - cmd: set JAVA_EXEC=C:\Progra~1\Java\jdk1.8.0\bin\java.exe
  - cmd: set
  - cmd: MSBuild.exe /t:restore /p:Configuration=Debug /v:quiet AntlrVSIX.sln
  - cmd: MSBuild.exe /p:Configuration=Debug /v:normal AntlrVSIX.sln

test:
  assemblies:
    - '**\UnitTestProject1.dll'

artifacts:
  - path: '**\*.vsix'

Update unit test for Appveyor.
Update unit test for Appveyor.
