forked from tj/node-growl
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.appveyor.yml
80 lines (63 loc) · 1.28 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
###
### .appveyor.yml
###
##
## General
##
## AppVeyor build number (must be unique across ALL builds)
version: '{build}-{branch}'
## Disable new AppVeyor build based on GH commit message title
skip_commits:
message: /\[ci\s+skip\]/
##
## Environment
##
## Clone repository (Downloads specific GitHub commit)
shallow_clone: true
## Build matrix
environment:
NODE_ENV: development
## Test against these Node.js releases
matrix:
- nodejs_version: '10'
- nodejs_version: '8'
- nodejs_version: '6'
- nodejs_version: '4'
matrix:
## Fail build immediately once any job fails
fast_finish: true
## Install scripts (runs after repo cloning)
install:
## Get latest stable version
- ps: Install-Product node $env:nodejs_version x64
## Set environment
#- set CI=true (Should already be set)
- set PATH=%APPDATA%\npm;C:\MinGW\bin;%PATH%
## Install NPM-5.x
- npm install -g npm@^5
## Install package dependencies
- npm install
##
## Build
##
## Build platform
platform:
- x64
## Disable build phase (MS-specific)
build: off
##
## Test
##
## Test phase
test_script:
## Output for debugging
- node --version
- npm --version
## Run package tests
- npm test
##
## Global handlers
##
## On successful build...
on_success:
- ps: Write-Host "Success"