maputnik/appveyor.yml

27 lines
667 B
YAML
Raw Normal View History

image: Visual Studio 2019
2016-11-23 10:07:13 +01:00
environment:
2016-11-23 16:38:52 +01:00
matrix:
2018-09-22 13:50:40 +02:00
- nodejs_version: "10"
2019-05-05 07:57:41 +02:00
- nodejs_version: "12"
2019-10-23 11:10:05 +02:00
- nodejs_version: "13"
platform:
- x86
- x64
2016-11-23 10:07:13 +01:00
install:
# 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
- npm 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-js
- npm run lint-css