yunkong2.admin/appveyor.yml

28 lines
867 B
YAML
Raw Normal View History

2018-09-14 19:26:46 +08:00
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 winston@2.3.1
- 'npm install https://github.com/yunkong2/yunkong2.js-controller/tarball/master --production'
- if exist "node_modules/yunkong2.js-controller/node_modules/yunkong2.admin/" rmdir /s /q "node_modules/yunkong2.js-controller/node_modules/yunkong2.admin"
test_script:
- echo %cd%
- node --version
- npm --version
- npm test
build: 'off'