forked from sass/node-sass
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
87 lines (68 loc) · 1.98 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
-
branches:
only:
- release
configuration: release
platform:
- x64
- x86
version: "{build}"
build: off
cache:
- '%userprofile%\.node-gyp'
- '%AppData%\npm-cache'
environment:
SKIP_SASS_BINARY_DOWNLOAD_FOR_CI: true
matrix:
- nodejs_version: 0.10
- nodejs_version: 0.12
- nodejs_version: 1.0
- nodejs_version: 1
- nodejs_version: 2
- nodejs_version: 3
- nodejs_version: 4
install:
- ps: Install-Product node $env:nodejs_version $env:platform
- node --version
- npm --version
- git submodule update --init --recursive
- npm install --msvs_version=2013
test_script: npm test
before_deploy:
# Save artifact with full qualified names of binding.node
# (which we use in node-sass-binaries repo)
- ps: Get-ChildItem .\vendor\**\*.node | % { Push-AppveyorArtifact $_.FullName -FileName (($_.FullName.Split('\\') | Select-Object -Last 2) -join '_') }
deploy:
- provider: GitHub
description: $(APPVEYOR_REPO_COMMIT_MESSAGE_EXTENDED)
artifact: /.*binding\.node/ # upload all NuGet packages to release assets
auth_token:
secure: tt+p58W9Q49faww/o0CODJI8e++YEX5THVlpXlRIigO4xHjE8NKigi0oxr1b2PJE
on:
branch: release # release from master branch only
appveyor_repo_tag: true # deploy on tag push only
-
configuration: testing
platform:
- x86
version: "{build}"
build: off
cache:
- '%userprofile%\.node-gyp'
- '%AppData%\npm-cache'
environment:
SKIP_SASS_BINARY_DOWNLOAD_FOR_CI: true
matrix:
- nodejs_version: 0.10
- nodejs_version: 0.12
- nodejs_version: 1
- nodejs_version: 2
- nodejs_version: 3
- nodejs_version: 4
install:
- ps: Install-Product node $env:nodejs_version $env:platform
- node --version
- npm --version
- git submodule update --init --recursive
- npm install --msvs_version=2013
test_script: npm test