2018-11-18 11:05:29 +01:00
|
|
|
image: Visual Studio 2015
|
2016-11-23 10:07:13 +01:00
|
|
|
environment:
|
2016-11-23 16:38:52 +01:00
|
|
|
matrix:
|
2017-11-15 15:45:50 +01:00
|
|
|
- nodejs_version: "8"
|
2018-09-22 13:50:40 +02:00
|
|
|
- nodejs_version: "10"
|
2018-11-17 11:08:55 +01:00
|
|
|
- nodejs_version: "11"
|
2019-05-05 07:57:41 +02:00
|
|
|
- nodejs_version: "12"
|
2017-04-04 19:58:03 +02:00
|
|
|
platform:
|
|
|
|
- x86
|
|
|
|
- x64
|
2016-11-23 10:07:13 +01:00
|
|
|
install:
|
2019-06-16 22:03:37 +02:00
|
|
|
# https://github.com/appveyor/ci/issues/2921#issuecomment-501016533
|
|
|
|
- ps: |
|
|
|
|
try {
|
|
|
|
Install-Product node $env:nodejs_version $env:platform
|
|
|
|
} catch {
|
|
|
|
echo "Unable to install node $env:nodejs_version, trying update..."
|
|
|
|
Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version) $env:platform
|
|
|
|
}
|
2016-11-23 21:06:56 +01:00
|
|
|
- md public
|
2018-11-18 11:05:29 +01:00
|
|
|
- npm --vs2015 install --global windows-build-tools
|
2016-11-23 10:07:13 +01:00
|
|
|
- npm install
|
|
|
|
build_script:
|
|
|
|
- npm run build
|
|
|
|
test_script:
|
|
|
|
- npm run lint
|
2019-03-05 13:43:34 +01:00
|
|
|
- npm run lint-styles
|