forked from ioBroker/ioBroker.admin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
27 lines (27 loc) · 867 Bytes
/
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
version: 'test-{build}'
environment:
matrix:
- nodejs_version: '4'
- nodejs_version: '6'
- nodejs_version: '8'
- nodejs_version: '10'
platform:
- x86
- x64
clone_folder: 'c:\projects\%APPVEYOR_PROJECT_NAME%'
install:
- ps: 'Install-Product node $env:nodejs_version $env:platform'
- ps: '$NpmVersion = (npm -v).Substring(0,1)'
- ps: 'if($NpmVersion -eq 5) { npm install -g npm@5 }'
- ps: npm --version
- npm install
- node node_modules/gulp/bin/gulp default
- npm install [email protected]
- 'npm install https://github.com/ioBroker/ioBroker.js-controller/tarball/master --production'
- if exist "node_modules/iobroker.js-controller/node_modules/iobroker.admin/" rmdir /s /q "node_modules/iobroker.js-controller/node_modules/iobroker.admin"
test_script:
- echo %cd%
- node --version
- npm --version
- npm test
build: 'off'