maputnik/appveyor.yml

27 lines
675 B
YAML
Raw Normal View History

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:
- nodejs_version: "8"
2018-09-22 13:50:40 +02:00
- nodejs_version: "10"
2019-05-05 07:57:41 +02:00
- nodejs_version: "12"
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
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