-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include automatic build system files
- Loading branch information
1 parent
ed7934f
commit 5b5c870
Showing
2 changed files
with
118 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
image: | ||
- Visual Studio 2019 | ||
|
||
environment: | ||
matrix: | ||
# Environment vars to send to the build VM | ||
- PYTHON: "C:\\Python38-x64\\python.exe" | ||
WHEELMAN_TARGET: windows | ||
WHEELMAN_REPO: "https://github.com/gbMichelle/wheelman.git" | ||
TWINE_USERNAME: | ||
secure: EnVF0Efkdy2CMUFOw91AOg== | ||
TWINE_PASSWORD: | ||
secure: vRDWpHszD6qeJkqhcs/sJA== | ||
|
||
install: | ||
# Windows install prep. | ||
- cmd: | | ||
git clone %WHEELMAN_REPO% wheelman | ||
%PYTHON% -m pip install wheel pyyaml twine | ||
# Turn off MSBuild mode. | ||
build: off | ||
|
||
#test_script: | ||
# No tests, how horrible D:< | ||
|
||
after_test: | ||
- cmd: "%PYTHON% wheelman\\wheelman.py --target %WHEELMAN_TARGET%" | ||
|
||
artifacts: | ||
# bdist_wheel puts the built wheel in the dist directory | ||
- path: dist\* | ||
|
||
# The build identifier shown in our webhook | ||
version: '{branch}.{build}' | ||
|
||
# Our Discord webhook | ||
notifications: | ||
- provider: Webhook | ||
url: | ||
secure: HPXukd4+SRk2k/1Lf7KxUSB4zVjwaGTepjGvpywQR8ZviI1/C5ABpAYfLYgup81E6p/bbHVgkno4cUf0SkcJqUTUFlFoKdTFQAstp7n/fHF7VvFj+C14R4EUcM2EINgwIGAI1pjse+a5bAJtNvFnllPOn/JqO7hxdV/jqFlh4Bs= | ||
method: POST | ||
body: >- | ||
{ | ||
"embeds": [ | ||
{ | ||
"title": "Build {{buildId}} for {{repositoryName}} - {{#passed}}Success{{/passed}}{{^passed}}Failure{{/passed}}", | ||
"url": "{{buildUrl}}", | ||
"color": {{#passed}}40973{{/passed}}{{^passed}}11672839{{/passed}}, | ||
"fields": [ | ||
{ | ||
"name": "Commit", | ||
"value": "[{{commitMessage}}](https://github.com/{{repositoryName}}/commit/{{commitId}})" | ||
}, | ||
{ | ||
"name": "Duration", | ||
"value": "{{duration}}", | ||
"inline": true | ||
}, | ||
{ | ||
"name": "Build version", | ||
"value": "{{buildVersion}}", | ||
"inline": true | ||
} | ||
] | ||
} | ||
] | ||
} | ||
on_build_success: true | ||
on_build_failure: true | ||
on_build_status_changed: true | ||
|
||
branches: | ||
only: | ||
- master |
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 |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Configuration for builder found at https://github.com/gbMichelle/wheelman | ||
|
||
# Name of distribution, needed for file copying. | ||
name: reclaimer | ||
|
||
#These get copied into the distribution | ||
include_files: | ||
- "README.MD" | ||
- "LICENSE" | ||
- "CHANGELOG.MD" | ||
|
||
pypi: | ||
# Only uploads on a github release tag. | ||
only_upload_tags: true | ||
# NOTE THE TEST.PYPI | ||
# pypi url to upload to | ||
#target_url: https://test.pypi.org/legacy/ | ||
target_url: https://pypi.org/legacy/ | ||
|
||
|
||
targets: | ||
windows: | ||
# For Python versions available on Appveyor, see | ||
# https://www.appveyor.com/docs/windows-images-software/#python | ||
|
||
- python: "C:\\Python36\\python.exe" | ||
wheel: True | ||
|
||
- python: "C:\\Python36-x64\\python.exe" | ||
wheel: True | ||
|
||
- python: "C:\\Python37\\python.exe" | ||
wheel: True | ||
|
||
- python: "C:\\Python37-x64\\python.exe" | ||
wheel: True | ||
|
||
- python: "C:\\Python38\\python.exe" | ||
wheel: True | ||
|
||
- python: "C:\\Python38-x64\\python.exe" | ||
wheel: True | ||
sdist: True |