forked from Automattic/node-canvas
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathappveyor.yml
29 lines (29 loc) · 1.02 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
version: 0.0.{build}
environment:
matrix:
- nodejs_version: "6"
image:
- Visual Studio 2013
- Visual Studio 2015
install:
- ps: Install-Product node $env:nodejs_version x64
# Sets Windows 7.1 SDK env vars.
- '"C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64'
# Prepend 2015 and 2013 tools. Harmless when the path for the other version doesn't exist.
- set "PATH=%ProgramFiles(x86)%\MSBuild\14.0\Bin;%ProgramFiles(x86)%\MSBuild\12.0\Bin;%PATH%"
# Upgrade npm to latest
- npm install --loglevel error -g npm
- set "PATH=%APPDATA%\npm;%PATH%"
- node -v
- npm -v
- npm install -g --loglevel error node-gyp
# Put GTK in C:/
- curl -fLsS -o "gtk.zip" "http://ftp.gnome.org/pub/GNOME/binaries/win64/gtk+/2.22/gtk+-bundle_2.22.1-20101229_win64.zip"
- 7z x gtk.zip -oGTK > nul
- mv GTK/ C:/
- curl -fLsS -o "libjpeg.exe" "https://downloads.sourceforge.net/project/libjpeg-turbo/1.5.2/libjpeg-turbo-1.5.2-vc64.exe"
- .\libjpeg.exe /S
- npm install
build: off
test_script:
- cmd: npm test