From 6b70ce28cd377ab93be4252f8956ca6700b9b708 Mon Sep 17 00:00:00 2001 From: Tommy Parnell Date: Fri, 9 Oct 2015 21:51:21 -0400 Subject: [PATCH] include appveyor file --- DotNetMashup.sln | 1 + appveyor.yml | 23 +++++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 appveyor.yml diff --git a/DotNetMashup.sln b/DotNetMashup.sln index def1e08..bcf8fb4 100644 --- a/DotNetMashup.sln +++ b/DotNetMashup.sln @@ -7,6 +7,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{67290B97-247 EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{8610EB85-922A-40CE-AB4B-355048BFC7D2}" ProjectSection(SolutionItems) = preProject + appveyor.yml = appveyor.yml global.json = global.json NuGet.Config = NuGet.Config EndProjectSection diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 0000000..ae25bb1 --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,23 @@ +nuget: + account_feed: true + +init: + - git config --global core.autocrlf true + +install: + - cmd: nuget sources add -Name api.nuget.org -Source https://api.nuget.org/v3/index.json + +before_build: + - ps: "&{$Branch='dev';iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.ps1'))}" + - ps: dnvm upgrade + - ps: dnvm update-self + - ps: dnvm install 1.0.0-beta7 + - ps: dnvm list + - ps: dnvm use 1.0.0-beta7 + - ps: npm cache clean + - ps: npm install -g gulp bower + - ps: dnu restore +# Use NuGet 2.* + - ps: (New-Object Net.WebClient).DownloadFile('https://www.nuget.org/nuget.exe', 'C:\Tools\NuGet\NuGet.exe') + - ps: nuget restore + - cmd: set PATH=C:\Program Files (x86)\MSBuild\14.0\Bin;%PATH% \ No newline at end of file