forked from feinoujc/Mandrill.net
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
42 lines (41 loc) · 1.23 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
os: Visual Studio 2015
environment:
VisualStudioVersion: 14.0
matrix:
- runtime: coreclr
- runtime: clr
assembly_info:
patch: true
file: AssemblyInfo.*
assembly_version: "{version}"
assembly_file_version: "{version}"
assembly_informational_version: "{version}-$(appveyor_repo_commit)"
cache:
- C:\Users\appveyor\.dnx\runtimes
- C:\Users\appveyor\.dnx\packages
install:
- dnvm upgrade -r %runtime%
before_build:
- dnu restore
- ps: >-
(Get-Content src\Mandrill.net\project.json).replace('"version": "1.0.0-*",', '"version": "' + $env:APPVEYOR_BUILD_VERSION + '",') | Set-Content src\Mandrill.net\project.json
build: off
build_script:
- dnu pack src/Mandrill.net --configuration Release --out artifacts
test: off
test_script:
- cd ./tests/Tests
- if defined APPVEYOR_PULL_REQUEST_NUMBER dnx test --labels=All --verbose --where:cat!=integration
- if not defined APPVEYOR_PULL_REQUEST_NUMBER dnx test --labels=All --verbose --where:cat!=exports
artifacts:
- path: artifacts\**\*.nupkg
deploy:
provider: NuGet
on:
branch: master
appveyor_repo_tag: true
runtime: clr
api_key:
secure: yYZGBnyhi9s3qBjVh9KhSnneM/qVxkGiSfNkXWekPyMFSFbDYYoXiuZxwMAQm8YV
skip_symbols: false
artifact: /.*\.nupkg/