forked from mapnik/node-mapnik
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
35 lines (30 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
version: 1.0.{build}
clone_folder: c:\dev2\node-mapnik
environment:
node_pre_gyp_accessKeyId:
secure: T1Pel/pv9SVfiVvZW8TLZnvZX6M4HQTiR7LUZnF1tuY=
node_pre_gyp_secretAccessKey:
secure: s1us6xb8U2EqlaVYtoVMtulfgMdX4VVEKgTF+Eft104gWja1GG0Blf6cMJtG7Yu3
matrix:
- nodejs_version: 0.8
- nodejs_version: 0.10
platform:
# - x64
- x86
install:
- ps: Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version) $env:Platform
- node -e "console.log('node version ' + process.version + ' architecture ' + process.arch);"
- node --version
- npm --version
# upgrade node-gyp to ensure it knows about msvs 2013
- npm install node-gyp --no-color --loglevel=info
- scripts\build_against_sdk_00-START-HERE.bat
- npm test --no-color
- npm test --no-color 2>&1
- node-pre-gyp --no-color --loglevel=verbose package
- SET CM=%APPVEYOR_REPO_COMMIT_MESSAGE%
- ECHO commit message %CM%
- if not "%CM%" == "%CM:[publish binary]=%" node-pre-gyp --no-color --loglevel=verbose publish
build: off
test: off
deploy: off