Skip to content
This repository was archived by the owner on Oct 8, 2024. It is now read-only.

Commit e9bb5dd

Browse files
authored
Merge pull request #287 from radarhere/clean
Cleanup code
2 parents 7ad1f4a + d006407 commit e9bb5dd

2 files changed

Lines changed: 8 additions & 19 deletions

File tree

.github/workflows/build.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ echo "::group::Install a virtualenv"
2929
echo "::endgroup::"
3030

3131
echo "::group::Build wheel"
32-
clean_code $REPO_DIR $BUILD_COMMIT
33-
build_wheel $REPO_DIR $PLAT
32+
clean_code
33+
build_wheel
3434
ls -l "${GITHUB_WORKSPACE}/${WHEEL_SDIR}/"
3535
echo "::endgroup::"
3636

3737
if [[ $MACOSX_DEPLOYMENT_TARGET != "11.0" ]]; then
3838
echo "::group::Test wheel"
39-
install_run $PLAT
39+
install_run
4040
echo "::endgroup::"
4141
fi

.travis.yml

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@ env:
22
global:
33
- REPO_DIR=Pillow
44
- BUILD_COMMIT=HEAD
5-
- PLAT=x86_64
6-
- UNICODE_WIDTH=32
7-
- BUILD_DEPENDS=""
5+
- PLAT=aarch64
6+
- DOCKER_TEST_IMAGE=multibuild/focal_{PLAT}
87
- TEST_DEPENDS="pytest pytest-timeout"
98

109
language: python
@@ -18,30 +17,22 @@ jobs:
1817
- name: "3.7 Focal aarch64"
1918
arch: arm64
2019
env:
21-
- PLAT=aarch64
2220
- MB_PYTHON_VERSION=3.7
23-
- DOCKER_TEST_IMAGE=multibuild/focal_{PLAT}
2421
- name: "3.8 Focal aarch64"
2522
os: linux
2623
arch: arm64
2724
env:
28-
- PLAT=aarch64
2925
- MB_PYTHON_VERSION=3.8
30-
- DOCKER_TEST_IMAGE=multibuild/focal_{PLAT}
3126
- name: "3.9 Focal aarch64"
3227
os: linux
3328
arch: arm64
3429
env:
35-
- PLAT=aarch64
3630
- MB_PYTHON_VERSION=3.9
37-
- DOCKER_TEST_IMAGE=multibuild/focal_{PLAT}
3831
- name: "3.10 Focal aarch64"
3932
os: linux
4033
arch: arm64
4134
env:
42-
- PLAT=aarch64
4335
- MB_PYTHON_VERSION=3.10
44-
- DOCKER_TEST_IMAGE=multibuild/focal_{PLAT}
4536

4637
before_install:
4738
- source multibuild/common_utils.sh
@@ -50,13 +41,12 @@ before_install:
5041

5142
install:
5243
# Maybe get and clean and patch source
53-
- if [[ -n "$LATEST" ]]; then BUILD_COMMIT=main; fi
54-
- clean_code $REPO_DIR $BUILD_COMMIT
55-
- build_wheel $REPO_DIR $PLAT
44+
- clean_code
45+
- build_wheel
5646
- ls -l "${TRAVIS_BUILD_DIR}/${WHEEL_SDIR}/"
5747

5848
script:
59-
- install_run $PLAT
49+
- install_run
6050

6151
# Upload wheels to GitHub Releases
6252
deploy:
@@ -65,6 +55,5 @@ deploy:
6555
file_glob: true
6656
file: "${TRAVIS_BUILD_DIR}/${WHEEL_SDIR}/*.whl"
6757
on:
68-
condition: -z "$LATEST"
6958
repo: python-pillow/pillow-wheels
7059
skip_cleanup: true

0 commit comments

Comments
 (0)