Skip to content

Commit 613ab09

Browse files
committed
ci: Travis deploy
1 parent 7a7c045 commit 613ab09

File tree

1 file changed

+17
-18
lines changed

1 file changed

+17
-18
lines changed

.travis.yml

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,33 +2,32 @@ language: python
22

33
branches:
44
only:
5-
- master
6-
- /^v\d+\.\d+(\.\d+)?(-\S*)?$/
7-
8-
env:
9-
global:
10-
- TWINE_USERNAME=__token__
11-
# Set TWINE_PASSWORD in Travis UI
5+
- master
6+
- "/^v\\d+\\.\\d+(\\.\\d+)?(-\\S*)?$/"
127

138
jobs:
149
include:
15-
- services: docker
16-
arch: arm64
17-
- services: docker
18-
arch: ppc64le
10+
- services: docker
11+
arch: arm64
12+
- services: docker
13+
arch: ppc64le
1914
# - services: docker
2015
# arch: s390x
2116
# beta - Doesn't always work. Wait till Travis fixes.
22-
17+
#
2318
install:
24-
- python3 -m pip install cibuildwheel==1.5.1
19+
- python3 -m pip install cibuildwheel==1.5.1
2520

2621
script:
27-
- sed -i '/numpy/d' pyproject.toml
28-
- CIBW_BUILD_VERBOSITY=1 python3 -m cibuildwheel --output-dir dist
29-
22+
- sed -i '/numpy/d' pyproject.toml
23+
- CIBW_BUILD_VERBOSITY=1 python3 -m cibuildwheel --output-dir dist
3024

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

0 commit comments

Comments
 (0)