aboutsummaryrefslogtreecommitdiff
path: root/appveyor.yml
blob: 8583629546b14501f0cbf7e03c1aae9d1ff339a6 (plain) (blame)
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
image: Visual Studio 2015
configuration: Debug
platform: Any CPU
before_build:
- nuget restore

build:
    verbosity: detailed
    project: BSODPrank.sln
 
after_build:
- cmd: 7z a -tzip "BSODPrank/bin/Debug/BSODPrank.zip" "BSODPrank/bin/Debug/*"

artifacts:
- path: BSODPrank/bin/Debug/BSODPrank.zip
  name: DevBuild

deploy:
    provider: GitHub
    release: Continuous build
    description: 'BSODPrank Development Builds'
    auth_token:
        secure: MeuJU9DaBpnzRdWaqvDfR4M7WhtB90FIpmYkZ5GmS8GyVSWyHT2FAMtDczW3D/JQ
    artifact: /.*\.zip/
    draft: false
    prerelease: true
    force_update: true
    tag: continuous
    on:
        appveyor_repo_tag: true 

on_success:
  - ps: Invoke-RestMethod https://raw.githubusercontent.com/DiscordHooks/appveyor-discord-webhook/master/send.ps1 -o send.ps1
  - ps: ./send.ps1 success $env:WEBHOOK_URL
on_failure:
  - ps: Invoke-RestMethod https://raw.githubusercontent.com/DiscordHooks/appveyor-discord-webhook/master/send.ps1 -o send.ps1
  - ps: ./send.ps1 failure $env:WEBHOOK_URL