antlr/appveyor.yml

17 lines
1021 B
YAML
Raw Normal View History

version: '4.7.1-SNAPSHOT+AppVeyor.{build}'
cache:
- '%USERPROFILE%\.m2'
- '%USERPROFILE%\.nuget\packages -> **\project.json'
2017-11-12 21:30:50 +08:00
image: Visual Studio 2017
build: off
2016-09-26 07:53:27 +08:00
build_script:
- 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
- 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:
- 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