This repository has been archived by the owner on Apr 4, 2019. It is now read-only.
forked from tilemill-project/tilemill
-
Notifications
You must be signed in to change notification settings - Fork 17
/
appveyor.yml
38 lines (35 loc) · 1.4 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
environment:
matrix:
- NODE_VERSION: 0.10.33
platform: x64
- NODE_VERSION: 0.10.33
platform: x86
shallow_clone: true
install:
# 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