-
Notifications
You must be signed in to change notification settings - Fork 527
/
appveyor.yml
44 lines (40 loc) · 1.57 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
environment:
matrix:
- NODE_VERSION: 0.10.33
platform: x64
- NODE_VERSION: 0.10.33
platform: x86
shallow_clone: true
services:
- postgresql94 #if changing this, also change PATH below
install:
- SET PGUSER=postgres
- SET PGPASSWORD=Password12!
- SET PATH=C:\Program Files\PostgreSQL\9.4\bin\;%PATH%
# find and remove default node.exe to avoid conflicts
- node -e "console.log(process.execPath)" > node_path.txt
- SET /p NODE_EXE_PATH=<node_path.txt
- del node_path.txt
- del /q /s "%NODE_EXE_PATH%"
# add local node to path
- SET PATH=%CD%;%PATH%;
- SET ARCHPATH=
- if %platform% == x64 (SET ARCHPATH=x64/)
- ps: Write-Output "fetching https://mapbox.s3.amazonaws.com/node-cpp11/v${env:NODE_VERSION}/${env:ARCHPATH}node.exe"
- ps: Start-FileDownload "https://mapbox.s3.amazonaws.com/node-cpp11/v${env:NODE_VERSION}/${env:ARCHPATH}node.exe"
- ps: Write-Output "https://mapbox.s3.amazonaws.com/node-cpp11/vcredist_$env:platform.exe"
- ps: Start-FileDownload "https://mapbox.s3.amazonaws.com/node-cpp11/vcredist_$env:platform.exe"
- .\vcredist_%platform%.exe /q /norestart
- node -v
- node -e "console.log(process.argv,process.execPath,process.arch)"
- npm -v
- npm install --fallback-to-build=false --toolset=v140 --msvs_version=2013
# put dumpbin on path: required by check_shared_libs.py
- SET PATH=C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin;%PATH%
- python test\check_shared_libs.py .\
- npm ls
# will fail until https://github.com/mapbox/tilemill/issues/2469 is fixed
- npm test
build: OFF
test: OFF
deploy: OFF