29 lines
636 B
YAML
29 lines
636 B
YAML
version: 'test-{build}'
|
|
os: Visual Studio 2013
|
|
environment:
|
|
matrix:
|
|
- nodejs_version: '12'
|
|
- nodejs_version: '14'
|
|
- nodejs_version: '16'
|
|
platform:
|
|
- x86
|
|
- x64
|
|
clone_folder: 'c:\projects\%APPVEYOR_PROJECT_NAME%'
|
|
services:
|
|
- mssql2014
|
|
- mysql
|
|
- postgresql
|
|
install:
|
|
- ps: 'Install-Product node $env:nodejs_version $env:platform'
|
|
- npm install -g npm@3
|
|
- npm install
|
|
- npm install winston@2.3.1
|
|
- 'npm install https://github.com/ioBroker/ioBroker.js-controller/tarball/master --production'
|
|
test_script:
|
|
- echo %cd%
|
|
- node --version
|
|
- npm --version
|
|
- ps: Start-Sleep -s 15
|
|
- npm test
|
|
build: 'off'
|