Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Use prebuildify * Remove 11, since current is 11 * Remove git-core workaround in appveyor * Remove --verbose, too noisy * Use $PREBUILD_TOKEN env var defined in Travis UI * Do not mark releases as pre-release * Update appveyor.yml Co-Authored-By: ralphtheninja <ralphtheninja@riseup.net> * Remove prerelease from appveyor as well
- Loading branch information
1 parent
c2fefcf
commit 45cab1c
Showing
3 changed files
with
50 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,44 @@ | ||
version: "{build}" | ||
build: off | ||
skip_tags: true | ||
build: false | ||
skip_branch_with_pr: true | ||
|
||
environment: | ||
matrix: | ||
- nodejs_version: "6" | ||
- nodejs_version: "8" | ||
- nodejs_version: "10" | ||
- nodejs_version: "Current" | ||
|
||
configuration: Release | ||
platform: | ||
- x86 | ||
- x64 | ||
|
||
install: | ||
- SET PATH=C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin;%PATH% | ||
- ps: Install-Product node $env:nodejs_version $env:platform | ||
- set PATH=%APPDATA%\npm;%APPVEYOR_BUILD_FOLDER%\node_modules\.bin;%PATH% | ||
- git submodule update --init --recursive | ||
- npm i | ||
|
||
test_script: | ||
- node --version | ||
- npm --version | ||
- npm test | ||
|
||
after_test: | ||
- ps: If ($env:nodejs_version -eq "Current") { npm run prebuild } | ||
|
||
artifacts: | ||
- path: prebuilds | ||
name: $(APPVEYOR_REPO_TAG_NAME)-win-$(PLATFORM) | ||
type: zip | ||
|
||
deploy: | ||
- provider: GitHub | ||
artifact: /.*\.zip/ | ||
auth_token: | ||
secure: AjmYV2zeogfen7F6tXvR9PO1zynJVF/jhMCExQ9RMtqEHDMH8Frclym3GniZkEB0 | ||
draft: false | ||
on: | ||
appveyor_repo_tag: true | ||
nodejs_version: "Current" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters