forked from exceptionless/Exceptionless.UI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
42 lines (34 loc) · 1.11 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
version: 2.8.{build}
environment:
BUILD_REPO_URL:
secure: vuYBT6D5arel88+Py/H3nnMPd4hInIXvr2cwhJaZSSSvJnmg+9sX1P5+bTWaJskYpGztHVMg0Iq7hgUCMKjh23w8WBrutLiUsixRE0LBjroIVJaRsYG1okSko0fNKVOCyOLKGt19Qrk45/TrTFlGMQ==
install:
- ps: Install-Product node 8
- cd src
- npm install
- node_modules\.bin\bower install
build_script:
- node_modules\.bin\grunt build
test_script:
- node_modules\.bin\grunt test
after_test:
- node_modules\.bin\grunt zip
- ps: Get-ChildItem .\*.zip | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name -DeploymentName ReleaseArtifacts }
- IF "%APPVEYOR_PULL_REQUEST_NUMBER%"=="" node_modules\.bin\grunt publish
artifacts:
- path: .\*.zip
name: ReleaseArtifacts
deploy:
provider: GitHub
auth_token:
secure: 0s81q7bweVLTFSOKxnIhan7el6bIFiN8HJ1kYJzOkeFXX7wgGSq9bs/rV53X9qpf
artifact: ReleaseArtifacts
draft: true
on:
branch: master
appveyor_repo_tag: true
notifications:
- provider: Slack
channel: '#notifications'
auth_token:
secure: GniMpFE62HprSyQNQoej/VSBnxn2GNnTrca3BnF8+ikMdqduO4Ts4t297teZF6wDAmGwnOtXusctUla8+WxLFkIztvVCS2Z1RG/DvEDYoc0=