forked from genielabs/HomeGenie
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
40 lines (33 loc) · 1.03 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
version: 1.0.{build}
branches:
except:
- gh-pages
image: Visual Studio 2015
configuration: Debug
before_build:
- nuget restore .\HomeGenie\packages.config -SolutionDirectory .\HomeGenie_Windows
build:
project: .\HomeGenie_Windows\HomeGenie_VS10.sln
verbosity: minimal
test:
assemblies:
only:
- HomeGenie.Tests/bin/Debug/HomeGenie.Tests.dll
after_test:
- cmd: >-
echo "Bundling installer for HomeGenie %APPVEYOR_REPO_TAG_NAME%"
dir "HomeGenie\bin\Debug"
cd "HomeGenie_Windows\Packager\"
"C:\Program Files (x86)\Inno Setup 5\iscc.exe" /Q /F"HomeGenie_%APPVEYOR_REPO_TAG_NAME%" setup.iss
echo "Adding artifact"
appveyor PushArtifact "Output\HomeGenie_%APPVEYOR_REPO_TAG_NAME%.exe"
deploy:
release: $(APPVEYOR_REPO_TAG_NAME)
description: 'HomeGenie $(APPVEYOR_REPO_TAG_NAME)'
provider: GitHub
auth_token:
secure: 1aMBEFi1qBAoV4H+LYx7hoVLgXJfndGoQ8I8qjLsoxXNA1zS+zgQHi2zVlRrmw1v
draft: false
prerelease: false
on:
appveyor_repo_tag: true