Skip to content

Commit

Permalink
Update build definition to use Visual Studio 2017
Browse files Browse the repository at this point in the history
  • Loading branch information
sharwell committed Jul 14, 2017
1 parent 978b2e2 commit 3c85d90
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
version: 1.0.{build}
os: Visual Studio 2015
os: Visual Studio 2017
configuration: Release
init:
- git config --global core.autocrlf true
Expand All @@ -12,7 +12,7 @@ cache:
- NETCFv35PowerToys.msi -> build\appveyor-install.ps1
build_script:
- cd build
- powershell -Command .\build.ps1 -VisualStudioVersion "14.0" -Verbosity minimal -GenerateTests -Logger "${env:ProgramFiles}\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" -Java6Home "${env:ProgramFiles}\Java\jdk1.7.0\jre"
- powershell -Command .\build.ps1 -VisualStudioVersion "15.0" -Verbosity minimal -GenerateTests -Logger "${env:ProgramFiles}\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" -Java6Home "${env:ProgramFiles}\Java\jdk1.7.0\jre"
- cd ..
test_script:
- vstest.console /logger:Appveyor /TestCaseFilter:"TestCategory=runtime-suite" "C:\projects\antlr4cs\runtime\CSharp\Antlr4.Runtime.Test\bin\net45\%CONFIGURATION%\Antlr4.Runtime.Test.net45.dll"
Expand Down
2 changes: 1 addition & 1 deletion build/build.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
param (
[switch]$Debug,
[string]$VisualStudioVersion = "14.0",
[string]$VisualStudioVersion = "15.0",
[switch]$NoClean,
[string]$Verbosity = "normal",
[string]$Logger,
Expand Down

0 comments on commit 3c85d90

Please sign in to comment.