forked from crummel/SalesforceConnectedService
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
38 lines (30 loc) · 1.27 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
# version format. This will always be changed by the Install script.
version: 1.0.{build}
# Dev14 is required to build (os actually means VM image)
os: Visual Studio 2015 CTP
# set up the build number (last two numbers). this has to happen before
# we do anything else because it's the only time we can set environment
# variables.
init:
- git config --global core.autocrlf true
- ps: $year = (Get-Date -Format 'yyyy').Substring(3,1)
- ps: $day = Get-Date -Format 'MMdd'
- ps: $buildVersion = $year + $day + '.' + $env:APPVEYOR_BUILD_NUMBER
- ps: Add-AppveyorMessage -Message "Updating build number to $buildVersion" -Category Information
- ps: Set-AppveyorBuildVariable -Name BuildNumber -Value $buildVersion
install:
- cmd: powershell -ExecutionPolicy Bypass scripts\Appveyor-Install.ps1
- set PATH=C:\Program Files (x86)\MSBuild\14.0\Bin;%PATH%
before_build:
- nuget restore
build:
project: Salesforce.VisualStudio.Services.sln
configuration:
- Release
- Debug
platform: Any CPU
artifacts:
- path: src\Salesforce.VisualStudio.Services\bin\$(configuration)\Salesforce.VisualStudio.Services.vsix
name: $(configuration) VSIX
- path: src\Salesforce.VisualStudio.Services\bin\$(configuration)\Salesforce.VisualStudio.Services.pdb
name: $(configuration) PDB