Permalink
Browse files

Ading appveyor builds to the project.

  • Loading branch information...
stimms committed Feb 26, 2016
1 parent ea26be9 commit 092b55e4814a5f6b70903bded10a482e20516181
Showing with 104 additions and 83 deletions.
  1. +21 −0 ci_build.ps1
  2. +1 −1 global.json
  3. +1 −1 tests/GenFu.Tests/project.json
  4. +81 −81 tests/GenFu.Tests/project.lock.json
View
@@ -0,0 +1,21 @@
#log the runtimes
dnvm list
dnvm install 1.0.0-rc1-update1 -r coreclr -a x86
dnvm install 1.0.0-rc1-update1 -r clr -a x86
dnvm install 1.0.0-rc1-update1 -r coreclr -a x64
dnvm install 1.0.0-rc1-update1 -r clr -a x64
dnvm list
dnvm use 1.0.0-rc1-update1 -a x64 -r coreclr
dnu feeds list
dnu restore
#run the build
& "C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe" src\GenFu.sln
#tests
dnvm use 1.0.0-rc1-update1 -a x64 -r coreclr
dnx -p tests\GenFu.Tests test -xml xunit-results.xml
# upload results to AppVeyor
$wc = New-Object 'System.Net.WebClient'
$wc.UploadFile("https://ci.appveyor.com/api/testresults/xunit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\xunit-results.xml))
View
@@ -1,7 +1,7 @@
{
"projects": [ "src", "test" ],
"sdk": {
"version": "1.0.0-rc1-final",
"version": "1.0.0-rc1-update1",
"runtime": "coreclr"
}
}
@@ -12,7 +12,7 @@
"dependencies": {
"GenFu": "",
"Microsoft.AspNet.TestHost": "1.0.0-rc1-final",
"xunit": "2.1.0-rc2-build3176",
"xunit": "2.1.0",
"xunit.runner.dnx": "2.1.0-rc1-build204"
},
Oops, something went wrong.

0 comments on commit 092b55e

Please sign in to comment.