Skip to content

Commit

Permalink
ci: Travis deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
henryiii committed Jul 6, 2020
1 parent 7a7c045 commit 613ab09
Showing 1 changed file with 17 additions and 18 deletions.
35 changes: 17 additions & 18 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,33 +2,32 @@ language: python

branches:
only:
- master
- /^v\d+\.\d+(\.\d+)?(-\S*)?$/

env:
global:
- TWINE_USERNAME=__token__
# Set TWINE_PASSWORD in Travis UI
- master
- "/^v\\d+\\.\\d+(\\.\\d+)?(-\\S*)?$/"

jobs:
include:
- services: docker
arch: arm64
- services: docker
arch: ppc64le
- services: docker
arch: arm64
- services: docker
arch: ppc64le
# - services: docker
# arch: s390x
# beta - Doesn't always work. Wait till Travis fixes.

#
install:
- python3 -m pip install cibuildwheel==1.5.1
- python3 -m pip install cibuildwheel==1.5.1

script:
- sed -i '/numpy/d' pyproject.toml
- CIBW_BUILD_VERBOSITY=1 python3 -m cibuildwheel --output-dir dist

- sed -i '/numpy/d' pyproject.toml
- CIBW_BUILD_VERBOSITY=1 python3 -m cibuildwheel --output-dir dist

deploy:
distributions: "--license" # Trick travis, see https://github.com/travis-ci/dpl/blob/577fb987337b6275f85cc104a38df30d030a860e/lib/dpl/providers/pypi.rb#L36
username: __token__
provider: pypi
distributions: "--license" # Trick travis, see https://github.com/travis-ci/dpl/blob/577fb987337b6275f85cc104a38df30d030a860e/lib/dpl/providers/pypi.rb#L36
username: "__token__"
cleanup: false
on:
tags: true
password:
secure: CzkempBr8UTAa2J1vAY1vRBXRvgY0jJ1G8Q1tRigXAzwxHXwopYQ4ai4DF1hp9ecsOpxU7+1RYctvFEzmhDdDixxM3/Byc4ialeYM4bwS9Ynf9VtgkGQUGRjNLZJAcO3+8Npvu79XUgjuHOKUXjHPZSgd2V3Wo8JtDcW1v2DVeRtxD7EkXKRkLcH7IHmjLMRrZ0gkvS+U464zY63K64bdvSNHmCn/4aGpHki3VWxdZJfAZrKgBtdV6agmt3Vj/lBkvIYQLqqbKY74fdGPtky/w3OMY4whTO0xN5Lxz51Q/SAu9G5iN1gz3brvt4MxgzL35RnrGjq14brzPJndz1v4O4igYyvayROJ7ZXUsB9MlMKxNyXWrJ56JEHGWNWFf/m2+Icgrc2JPuLqxAa68EYVW+VkP+4aL1lxCLpGq+J0sutv8YtzpXQ9Ugv4a/wpUnRto9YfMettQFEZ262fHANzyNmhIdWRSHKHSxvK9Q36lnTVa90NaXq8ndsS0ZBvSCb6VTbZjbj7HjQC0ee1yMT1hHQOCnefo7XaiCbWqqGXeth5AoyXfVXKP/abJdVWqdXLyPMCU6xzQVUOuyafAJcZejUuG+zFTUD7tOrWu+sjfl5Vbumvg9gvPhB5p4MTblLWjM793effm/87eo832DWV/ydbWRSMKaFGxXgtuDgGcs=

0 comments on commit 613ab09

Please sign in to comment.