-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathappveyor.yml
More file actions
32 lines (32 loc) · 887 Bytes
/
appveyor.yml
File metadata and controls
32 lines (32 loc) · 887 Bytes
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
version: 'test-{build}'
environment:
matrix:
- nodejs_version: '4'
- nodejs_version: '6'
- nodejs_version: '8'
platform:
- x86
- x64
cache:
- c:\php -> appveyor.yml
init:
- SET PATH=c:\php\71;%PATH%
- SET PHP_PATH=c:\php\71\php-cgi.exe
clone_folder: 'c:\projects\%APPVEYOR_PROJECT_NAME%'
install:
- IF EXIST c:\php\71 (SET PHP=0) ELSE (SET PHP=1)
- IF %PHP%==1 mkdir c:\php\71
- IF %PHP%==1 cd c:\php\71
- IF %PHP%==1 appveyor DownloadFile http://windows.php.net/downloads/releases/archives/php-7.1.0-Win32-VC14-x64.zip
- IF %PHP%==1 7z x php-7.1.0-Win32-VC14-x64.zip >nul
- set PATH=c:\php\71\;%PATH%
- c:\php\71\php-cgi.exe -v
- cd c:\projects\%APPVEYOR_PROJECT_NAME%
- ps: 'Install-Product node $env:nodejs_version $env:platform'
- npm install
test_script:
- echo %cd%
- node --version
- npm --version
- npm test
build: 'off'