include appveyor file

This commit is contained in:
Tommy Parnell
2015-10-09 21:51:21 -04:00
parent feea38cb7e
commit 6b70ce28cd
2 changed files with 24 additions and 0 deletions

View File

@@ -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

23
appveyor.yml Normal file
View File

@@ -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%