~cnx/palace

ref: 708f23b35a7e232273ba0a63a65b3ef778a84540 palace/.travis.yml -rw-r--r-- 1.1 KiB
708f23b3 — Ngô Ngọc Đức Huy Write tutorial for source effect 1 year, 2 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
branches:
  only:
    - master
    - /^\d+(\.\d+)+((a|b|rc)\d+)?(\.post\d+)?(\.dev\d+)?$/

language: python

env:
  global:
    - TWINE_USERNAME=__token__
    - MACOSX_DEPLOYMENT_TARGET=10.9
    - CIBW_BEFORE_BUILD_MACOS=.ci/before-build-macos
    - CIBW_BEFORE_BUILD_LINUX=.ci/before-build-manylinux2014
    - CIBW_MANYLINUX_X86_64_IMAGE=manylinux2014
    - CIBW_REPAIR_WHEEL_COMMAND_MACOS=".ci/repair-whl-macos {wheel} {dest_dir}"
    - CIBW_TEST_REQUIRES=tox
    - CIBW_TEST_COMMAND="tox -c {project}"

addons:
  homebrew:
    packages:
      - openal-soft
      - libvorbis
      - opusfile
      - libsndfile

install: python3 -m pip install twine cibuildwheel

jobs:
  include:
    - os: osx
      osx_image: xcode11.3
      language: shell
      env: CIBW_BUILD=cp36-macosx_x86_64
    - services: docker
      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

script: python3 -m cibuildwheel --output-dir=dist

deploy:
  skip_cleanup: true
  provider: script
  script: twine upload dist/*.whl
  on:
    tags: true