forked from JimBobSquarePants/ImageProcessor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
52 lines (36 loc) · 1.32 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
version: v3.0.0.{build}
os: Visual Studio 2015
install:
# Remove NuGet v2 source as we want to use v3 for everything
- cmd: nuget sources remove -Name nuget.org
before_build:
- cmd: >-
dnvm install 1.0.0-rc1-final -r clr
dnvm install 1.0.0-rc1-final -r coreclr -arch x64 -alias x64
dnvm use 1.0.0-rc1-final -r coreclr -a x64
dnvm list
dnu restore src\ImageProcessor
dnu restore tests\ImageProcessor.Tests
cd build
npm install
node appveyor-project-version-patch.js
cd..
build_script:
- cmd: '"%programfiles(x86)%\MSBuild\14.0\Bin\amd64\MsBuild.exe" ImageProcessor.sln /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /p:RuntimeToolingDirectory="%USERPROFILE%\.dnx\runtimes\dnx-coreclr-win-x64.1.0.0-rc1-final"'
test_script:
- cmd: >-
dnvm use 1.0.0-rc1-final -r coreclr -a x64
cd tests/ImageProcessor.Tests
dnx test
artifacts:
- path: artifacts\bin\ImageProcessor\**\*.nupkg
#deploy:
# # MyGet Deployment for builds & releases
# - provider: NuGet
# server: https://www.myget.org/F/imageprocessor/api/v2/package
# symbol_server: https://nuget.symbolsource.org/MyGet/imageprocessor
# api_key:
# secure: fz0rUrt3B1HczUC1ZehwVsrFSWX9WZGDQoueDztLte9/+yQG+BBU7UrO+coE8lUf
# artifact: /.*\.nupkg/
# on:
# branch: V3