2020-02-01 09:09:54 +01:00
|
|
|
language: python
|
|
|
|
|
2020-02-02 05:21:28 +01:00
|
|
|
branches:
|
2020-02-02 08:49:15 +01:00
|
|
|
only:
|
|
|
|
- master
|
2020-03-01 04:59:05 +01:00
|
|
|
- /\d+\.\d+\.\d+$/
|
2020-02-02 05:21:28 +01:00
|
|
|
|
2020-02-01 09:09:54 +01:00
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- TWINE_USERNAME=__token__
|
2020-03-01 04:59:05 +01:00
|
|
|
- MACOSX_DEPLOYMENT_TARGET=10.9
|
2020-02-01 09:09:54 +01:00
|
|
|
- CIBW_MANYLINUX_X86_64_IMAGE=manylinux2014
|
2020-03-01 04:59:05 +01:00
|
|
|
- CIBW_BEFORE_BUILD_LINUX=.ci/before-build-manylinux2014
|
|
|
|
- CIBW_BEFORE_BUILD_MACOS=.ci/before-build-macos
|
2020-02-01 09:09:54 +01:00
|
|
|
- CIBW_TEST_REQUIRES=tox
|
2020-03-01 04:59:05 +01:00
|
|
|
- CIBW_TEST_COMMAND_MACOS="tox -c /Users/travis/build/McSinyx/palace"
|
2020-02-02 05:21:28 +01:00
|
|
|
- CIBW_TEST_COMMAND_LINUX="tox -c /project"
|
2020-02-01 09:09:54 +01:00
|
|
|
|
2020-03-01 04:59:05 +01:00
|
|
|
addons:
|
|
|
|
homebrew:
|
|
|
|
packages:
|
|
|
|
- openal-soft
|
|
|
|
- libvorbis
|
|
|
|
- opusfile
|
|
|
|
- libsndfile
|
|
|
|
update: true
|
|
|
|
|
|
|
|
install: pip install twine cibuildwheel
|
|
|
|
|
|
|
|
git:
|
|
|
|
depth: 1
|
|
|
|
|
2020-02-01 09:09:54 +01:00
|
|
|
jobs:
|
|
|
|
include:
|
2020-03-01 04:59:05 +01:00
|
|
|
- os: osx
|
|
|
|
language: shell
|
|
|
|
env: CIBW_BUILD=cp36-macosx*
|
|
|
|
- os: osx
|
|
|
|
language: shell
|
|
|
|
env: CIBW_BUILD=cp37-macosx*
|
|
|
|
- os: osx
|
|
|
|
language: shell
|
|
|
|
env: CIBW_BUILD=cp38-macosx*
|
2020-02-01 09:09:54 +01:00
|
|
|
- services: docker
|
2020-02-05 11:07:16 +01:00
|
|
|
env: CIBW_BUILD=cp36-manylinux_x86_64
|
|
|
|
- services: docker
|
|
|
|
env: CIBW_BUILD=cp37-manylinux_x86_64
|
|
|
|
- services: docker
|
|
|
|
env: CIBW_BUILD=cp38-manylinux_x86_64
|
2020-02-01 09:09:54 +01:00
|
|
|
|
2020-02-01 11:35:38 +01:00
|
|
|
script: cibuildwheel --output-dir=dist
|
2020-02-01 09:09:54 +01:00
|
|
|
|
2020-02-01 11:35:38 +01:00
|
|
|
deploy:
|
|
|
|
skip_cleanup: true
|
|
|
|
provider: script
|
|
|
|
script: twine upload dist/*.whl
|
|
|
|
on:
|
|
|
|
tags: true
|