forked from bttfv/BackToTheFutureV
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathappveyor.yml
28 lines (24 loc) · 902 Bytes
/
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
version: 2.0.{build}
branches:
only:
- dev
configuration: Release
install:
- cmd: >-
git submodule update --init --recursive
nuget restore BackToTheFutureV.sln
build:
project: BackToTheFutureV.sln
verbosity: minimal
after_build:
- cmd: >-
7z a BackToTheFutureV.zip %APPVEYOR_BUILD_FOLDER%\BackToTheFutureV\bin\Release\*
7z a KlangRageAudioLibrary.zip %APPVEYOR_BUILD_FOLDER%\KlangRageAudioLibrary\bin\Release\*
appveyor PushArtifact BackToTheFutureV.zip
appveyor PushArtifact KlangRageAudioLibrary.zip
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