2017-10-13 07:49:03 +08:00
|
|
|
version: '4.7.1-SNAPSHOT+AppVeyor.{build}'
|
2017-10-29 05:45:34 +08:00
|
|
|
cache:
|
|
|
|
- '%USERPROFILE%\.m2'
|
|
|
|
- '%USERPROFILE%\.nuget\packages -> **\project.json'
|
2017-11-12 21:30:50 +08:00
|
|
|
image: Visual Studio 2017
|
2017-10-25 15:07:23 +08:00
|
|
|
build: off
|
2016-09-26 07:53:27 +08:00
|
|
|
build_script:
|
2017-10-25 15:07:23 +08:00
|
|
|
- mvn -DskipTests install --batch-mode
|
2017-11-12 21:30:50 +08:00
|
|
|
- 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
|
2017-10-25 15:07:23 +08:00
|
|
|
- msbuild ./runtime-testsuite/target/classes/CSharp/runtime/CSharp/Antlr4.vs2013.sln /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /verbosity:detailed
|
2017-11-12 21:30:50 +08:00
|
|
|
after_build:
|
|
|
|
- msbuild /target:pack /property:Configuration=Release /verbosity:detailed runtime/CSharp/runtime/CSharp/Antlr4.dotnet.sln
|
2016-09-26 07:53:27 +08:00
|
|
|
test_script:
|
2017-10-25 15:07:23 +08:00
|
|
|
- mvn install -Dantlr-python2-python="C:\Python27\python.exe" -Dantlr-python3-python="C:\Python35\python.exe" -Dantlr-javascript-nodejs="C:\Program Files (x86)\nodejs\node.exe" --batch-mode
|
2017-11-12 21:30:50 +08:00
|
|
|
artifacts:
|
|
|
|
- path: 'runtime\**\*.nupkg'
|
|
|
|
name: NuGet
|