-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
56 lines (53 loc) · 1.46 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
53
54
55
56
os: Visual Studio 2015
environment:
environment: dev
version: 1.0.{build}
branches:
only:
- develop
init:
- git config --global core.autocrlf input
install:
- if not exist %APPVEYOR_BUILD_FOLDER%\nuget-latest-version appveyor DownloadFile https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
- set PATH=nuget-latest-version\;%PATH%
- npm -g install npm@1
- npm install -g gulp
- npm install
- nuget sources
- gulp download-sonar-scanner
nuget:
account_feed: true
disable_publish_on_pr: true
cache:
- lib -> \**\packages.config
- MSBuild.SonarQube.Runner-2.1
assembly_info:
patch: true
file: AssemblyInfo.*
assembly_version: "{version}"
assembly_file_version: "{version}"
assembly_informational_version: "{version}"
after_build:
- gulp run-sonar-analysis-core
- gulp run-sonar-analysis-login
- gulp run-sonar-analysis-users
- gulp package
build_script:
- gulp build-with-coverage-report
test:
assemblies:
- specs\**\*.Specs.dll
artifacts:
# - path: deploy\Rewardle.Accounts.ViewStoreRebuilder*.zip
# name: accounts_viewStoreRebuilder
- path: deploy\**\*.nupkg
name: nugetPackages
deploy:
# - provider: Environment
# name: Rewardle.Dev
# artifacts: accounts_eventStoreRebuilder, accounts_viewStoreRebuilder, accounts_events, accounts_commands, accounts_api
before_deploy:
- gulp deploy-nuget
notifications:
- provider: Webhook
url: http://appharborservicehookendpoint.apphb.com/build/appveyor/ironhide