mirror of
https://github.com/hanzoai/bufferutil.git
synced 2026-09-24 16:57:30 +00:00
34 lines
838 B
YAML
34 lines
838 B
YAML
build: off
|
|
configuration: Release
|
|
environment:
|
|
matrix:
|
|
- nodejs_version: "10"
|
|
- nodejs_version: "8"
|
|
- nodejs_version: "6"
|
|
platform:
|
|
- x86
|
|
- x64
|
|
matrix:
|
|
fast_finish: true
|
|
install:
|
|
- ps: Install-Product node $env:nodejs_version $env:platform
|
|
- npm install
|
|
test_script:
|
|
- node --version
|
|
- npm --version
|
|
- npm test
|
|
after_test:
|
|
- ps: If ($env:nodejs_version -eq "10") { npm run prebuild }
|
|
- ps: $env:ARTIFACT_NAME_PREFIX = if (Test-Path env:APPVEYOR_REPO_TAG_NAME) { $env:APPVEYOR_REPO_TAG_NAME } else { 'latest' }
|
|
artifacts:
|
|
- path: prebuilds
|
|
name: $(ARTIFACT_NAME_PREFIX)-win-$(PLATFORM)
|
|
deploy:
|
|
- provider: GitHub
|
|
artifact: /.*\.zip/
|
|
auth_token:
|
|
secure: CkWRNlzH+wmCa3+TRydWfvmSH7tevR81aAypEhXTR9ka5q0Ja8lAIPDwtPb+Ux9l
|
|
on:
|
|
appveyor_repo_tag: true
|
|
nodejs_version: "10"
|