forked from TheBastionBot/Bastion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
29 lines (29 loc) · 842 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
29
branches:
only:
- master
- stable
skip_tags: true
skip_commits:
message: /(\[skip appveyor\]|\[appveyor skip\])/
image:
- Visual Studio 2017
clone_depth: 1
install:
- choco install nodejs-lts
- yarn install
platform: x64
build: off
before_test:
- cp settings\credentials.example.yaml settings\credentials.yaml
- cp settings\configurations.example.yaml settings\configurations.yaml
test_script:
- node --version
- yarn --version
- yarn test
on_success:
- ps: Invoke-RestMethod https://raw.githubusercontent.com/k3rn31p4nic/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/k3rn31p4nic/appveyor-discord-webhook/master/send.ps1 -o send.ps1
- ps: ./send.ps1 failure $env:WEBHOOK_URL
deploy: off