forked from yarnpkg/yarn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
48 lines (40 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
41
42
43
44
45
46
47
48
environment:
matrix:
- node_version: "6"
- node_version: "4"
branches:
only:
- master
- /v[0-9]+(\.[0-9]+)*/
install:
- ps: Install-Product node $env:node_version
- yarn install
build_script:
- ps: if ($env:APPVEYOR_REPO_BRANCH -eq 'master') { node ./scripts/set-dev-version.js }
- yarn run build-dist
- yarn run build-win-installer
test_script:
- node --version
- npm run test-only -- --maxWorkers 3
artifacts:
- path: artifacts/*.msi
name: Installer
cache:
- node_modules
- "%LOCALAPPDATA%/Yarn"
notifications:
- provider: Webhook
url: https://nightly.yarnpkg.com/archive_appveyor
method: POST
headers:
Authorization:
secure: uH4c9HNDdRuL4omqqbTtBq3KgzjGTFmpvPdiNuk9391Z0YXRoRLA1Ptpa3seZ0Pt
on_build_failure: false
deploy:
- provider: Webhook
url: https://nightly.yarnpkg.com/release_appveyor
authorization:
secure: uH4c9HNDdRuL4omqqbTtBq3KgzjGTFmpvPdiNuk9391Z0YXRoRLA1Ptpa3seZ0Pt
on:
branch: /v[0-9]+(\.[0-9]+)*/
appveyor_repo_tag: true