-
Notifications
You must be signed in to change notification settings - Fork 167
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2,484 changed files
with
237,008 additions
and
6,764 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 |
---|---|---|
|
@@ -2,9 +2,6 @@ image: Visual Studio 2017 | |
|
||
environment: | ||
global: | ||
CIBW_BUILD: cp36-win_amd64 | ||
CIBW_TEST_REQUIRES: pytest | ||
CIBW_TEST_COMMAND: cd {project} && pytest && pip uninstall --yes afdko | ||
TWINE_USERNAME: adobe-type-tools-ci | ||
# Note: TWINE_PASSWORD is set in AppVeyor settings | ||
PYTHON_HOME: C:\Python36-x64 | ||
|
@@ -15,22 +12,37 @@ matrix: | |
# Do not build feature branch with open Pull Requests | ||
skip_branch_with_pr: true | ||
|
||
# scripts that run after cloning repository | ||
install: | ||
- call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat" | ||
- SET PATH=%PYTHON_HOME%;%PYTHON_HOME%\Scripts;%PATH% | ||
- python --version | ||
- python -c "import struct; print(struct.calcsize('P') * 8)" | ||
- python -m pip install --disable-pip-version-check --upgrade pip | ||
- python -m pip install --disable-pip-version-check -U -q pip setuptools wheel pytest | ||
- python -m pip --version | ||
- python -m pip list | ||
|
||
# to run your custom scripts instead of automatic MSBuild | ||
build_script: | ||
# our setup.py requires 'wheel', which may not be already installed | ||
- python -m pip install cibuildwheel wheel | ||
- cibuildwheel --output-dir wheelhouse | ||
- python setup.py bdist_wheel || EXIT /B 1 | ||
|
||
test_script: | ||
# run the tests only on untagged commits | ||
- ps: >- | ||
if ($env:APPVEYOR_REPO_TAG -ne "true") { | ||
$WHEEL = Resolve-Path "dist\*.whl" | Select -ExpandProperty Path | ||
if ($WHEEL -eq $null) { echo "ERROR: Wheel file not found."; exit 1 } | ||
python -m pip install $WHEEL | ||
if ($LastExitCode -ne 0) { exit $LastExitCode } | ||
python -m pytest | ||
if ($LastExitCode -ne 0) { exit $LastExitCode } | ||
python -m pip uninstall --yes afdko | ||
if ($LastExitCode -ne 0) { exit $LastExitCode } | ||
} | ||
artifacts: | ||
# archive the generated packages in the ci.appveyor.com build report | ||
- path: wheelhouse\*.whl | ||
- path: dist\*.whl | ||
name: Wheels | ||
|
||
on_success: | ||
|
@@ -39,7 +51,7 @@ on_success: | |
if ($env:APPVEYOR_REPO_TAG -eq "true") { | ||
Write-Output ("Deploying " + $env:APPVEYOR_REPO_TAG_NAME + " to PyPI...") | ||
python -m pip install twine | ||
python -m twine upload wheelhouse/*.whl | ||
python -m twine upload dist/*.whl | ||
} | ||
deploy: | ||
|
@@ -52,11 +64,3 @@ deploy: | |
prerelease: true | ||
on: | ||
appveyor_repo_tag: true | ||
|
||
notifications: | ||
- provider: Email | ||
to: | ||
- [email protected] | ||
on_build_success: false | ||
on_build_failure: true | ||
on_build_status_changed: false |
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
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
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,3 +1,4 @@ | ||
*.cff* binary | ||
*.pdf binary | ||
*.pfa text eol=lf | ||
*.pfb binary | ||
|
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,12 @@ | ||
extraction: | ||
python: | ||
python_setup: | ||
version: 3 | ||
requirements: "cython>=0.29" | ||
cpp: | ||
after_prepare: | ||
- "pip3 install --upgrade --user cython" | ||
- "pip3 install --upgrade --user wheel" | ||
- "export PATH=\"$HOME/.local/bin:$PATH\"" | ||
index: | ||
build_command: "python3 setup.py build" |
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
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
Oops, something went wrong.