Skip to content

Commit 95705dd

Browse files
authored
ci: Fix Travis deploy (#399)
* ci: Fix Travis deploy for archs * Try deleting the cache before installing * Split into two builds
1 parent 59d7843 commit 95705dd

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
python-version: '3.7'
8686

8787
- name: Install cibuildwheel
88-
run: python -m pip install cibuildwheel==1.5.1 twine
88+
run: python -m pip install cibuildwheel==1.5.2 twine
8989

9090
- name: Build wheel
9191
run: python -m cibuildwheel --output-dir wheelhouse

.github/workflows/wheels.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
python-version: '3.7'
7575

7676
- name: Install cibuildwheel
77-
run: python -m pip install cibuildwheel==1.5.1
77+
run: python -m pip install cibuildwheel==1.5.2
7878

7979
- name: Build wheel
8080
run: python -m cibuildwheel --output-dir wheelhouse
@@ -108,7 +108,7 @@ jobs:
108108
python-version: '3.7'
109109

110110
- name: Install cibuildwheel
111-
run: python -m pip install cibuildwheel==1.5.1
111+
run: python -m pip install cibuildwheel==1.5.2
112112

113113
- uses: ilammy/msvc-dev-cmd@v1
114114

.travis.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ branches:
88
jobs:
99
include:
1010
- services: docker
11+
env: CIBW_BUILD="cp35* cp36*" NPY_NUM_BUILD_JOBS=2
12+
arch: arm64
13+
- services: docker
14+
env: CIBW_SKIP="cp35* cp36*" NPY_NUM_BUILD_JOBS=2
1115
arch: arm64
1216
- services: docker
1317
arch: ppc64le
@@ -16,7 +20,9 @@ jobs:
1620
# beta - Doesn't always work. Wait till Travis fixes.
1721
#
1822
install:
19-
- python3 -m pip install cibuildwheel==1.5.1
23+
- sudo rm -r $HOME/.cache
24+
- python3 -m pip install --upgrade twine setuptools setuptools_scm pip cryptography
25+
- python3 -m pip install cibuildwheel==1.5.2
2026

2127
script:
2228
- sed -i '/numpy/d' pyproject.toml

0 commit comments

Comments
 (0)