mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-24 00:46:16 +03:00
Split script.sh into build.sh and test.sh
This commit is contained in:
parent
7c7c53fbb6
commit
ac5642dc76
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
|
@ -45,9 +45,13 @@ jobs:
|
|||
run: |
|
||||
.github/workflows/macos-install.sh
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
.travis/build.sh
|
||||
|
||||
- name: Test
|
||||
run: |
|
||||
.travis/script.sh
|
||||
.travis/test.sh
|
||||
|
||||
- name: Docs
|
||||
if: matrix.python-version == 2.7
|
||||
|
|
|
@ -64,7 +64,8 @@ script:
|
|||
if [ "$LINT" == "true" ]; then
|
||||
tox -e lint
|
||||
elif [ "$DOCKER" == "" ]; then
|
||||
.travis/script.sh
|
||||
.travis/build.sh
|
||||
.travis/test.sh
|
||||
elif [ "$DOCKER" ]; then
|
||||
# the Pillow user in the docker container is UID 1000
|
||||
sudo chown -R 1000 $TRAVIS_BUILD_DIR
|
||||
|
|
7
.travis/build.sh
Executable file
7
.travis/build.sh
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
coverage erase
|
||||
make clean
|
||||
make install-coverage
|
|
@ -2,10 +2,6 @@
|
|||
|
||||
set -e
|
||||
|
||||
coverage erase
|
||||
make clean
|
||||
make install-coverage
|
||||
|
||||
python -m pytest -v -x --cov PIL --cov-report term Tests
|
||||
|
||||
# Docs
|
Loading…
Reference in New Issue
Block a user