forked from nodegit/nodegit
-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
64 lines (52 loc) · 1.42 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
# appveyor file
# http://www.appveyor.com/docs/appveyor-yml
os: Windows Server 2012 R2
image: Visual Studio 2015
platform:
- x86
- x64
# build version format
version: "{build}"
# Set a known clone folder
clone_folder: c:\projects\nodegit
# fix lineendings in Windows
init:
- git config --global core.autocrlf input
- git config --global user.name "John Doe"
- git config --global user.email [email protected]
# what combinations to test
environment:
JOBS: 4
BUILD_ONLY: true
GIT_SSH: c:\projects\nodegit\vendor\plink.exe
GYP_MSVS_VERSION: 2013
matrix:
# Node.js
- nodejs_version: "0.12"
- nodejs_version: "4.1"
- nodejs_version: "5.8"
- nodejs_version: "6"
matrix:
fast_finish: true
# Get the latest stable version of Node 0.STABLE.latest
install:
- ps: Install-Product node $env:nodejs_version $env:platform
- ps: Start-Process c:\projects\nodegit\vendor\pageant.exe c:\projects\nodegit\vendor\private.ppk
- npm install -g npm
- cmd: npm install -g node-gyp
- npm install
test_script:
- node --version
- npm --version
- cmd: npm test
on_success:
- IF %APPVEYOR_REPO_TAG%==true npm install -g node-pre-gyp
- IF %APPVEYOR_REPO_TAG%==true npm install -g aws-sdk
- IF %APPVEYOR_REPO_TAG%==true node lifecycleScripts\clean
- IF %APPVEYOR_REPO_TAG%==true node-pre-gyp package
- IF %APPVEYOR_REPO_TAG%==true node-pre-gyp publish
build: off
branches:
only:
- master
- v0.3