2016-09-01 21:16:27 +00:00
|
|
|
# Install scripts. (runs after repo cloning)
|
|
|
|
install:
|
|
|
|
# Get the latest stable version of Node.js or io.js
|
|
|
|
- ps: Install-Product node $env:nodejs_version
|
|
|
|
# install modules
|
|
|
|
- npm install
|
2016-09-01 21:23:07 +00:00
|
|
|
- npm install -g electron-packager
|
2016-09-01 21:16:27 +00:00
|
|
|
|
|
|
|
# Post-install test scripts.
|
|
|
|
test_script:
|
|
|
|
# Output useful info for debugging.
|
|
|
|
- node --version
|
|
|
|
- npm --version
|
2016-09-01 21:20:29 +00:00
|
|
|
- npm run winbuild
|
2016-09-02 22:45:00 +00:00
|
|
|
- 7z a -tzip -mx9 BloodHound-win32-ia32-%APPVEYOR_REPO_COMMIT%.zip BloodHound-win32-ia32
|
|
|
|
- 7z a -tzip -mx9 BloodHound-win32-x64-%APPVEYOR_REPO_COMMIT%.zip BloodHound-win32-x64
|
2016-09-01 21:16:27 +00:00
|
|
|
|
2016-09-01 21:39:02 +00:00
|
|
|
artifacts:
|
2016-09-02 22:33:14 +00:00
|
|
|
- path: BloodHound-win32-ia32-$(APPVEYOR_REPO_COMMIT).zip
|
2016-09-01 21:39:02 +00:00
|
|
|
name: BloodHound-win32-ia32
|
2016-09-02 22:33:14 +00:00
|
|
|
- path: BloodHound-win32-x64-$(APPVEYOR_REPO_COMMIT).zip
|
2016-09-01 21:39:02 +00:00
|
|
|
name: BloodHound-win32-x64
|
|
|
|
|
2016-09-01 22:07:03 +00:00
|
|
|
deploy:
|
2016-09-01 22:16:21 +00:00
|
|
|
- provider: GitHub
|
2016-09-01 22:07:03 +00:00
|
|
|
release: BloodHound Rolling
|
2016-09-02 13:28:37 +00:00
|
|
|
description: 'Rolling release of BloodHound compiled from source ($(APPVEYOR_REPO_COMMIT)). Not necessarily stable'
|
2016-09-02 22:33:14 +00:00
|
|
|
artifact: BloodHound-win32-ia32,BloodHound-win32-x64
|
2016-09-01 22:07:03 +00:00
|
|
|
force_update: true
|
|
|
|
auth_token:
|
|
|
|
secure: 9E4/AX+ecgXB482XLGCgpdLL5hlWJOUywGKREcRL0iD+YBU/ABXJOGXYHLeKQIgv
|
|
|
|
|
|
|
|
|
2016-09-01 21:16:27 +00:00
|
|
|
# Don't actually build.
|
|
|
|
build: off
|