Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 615cca3

Browse filesBrowse files
committed
save wheels to dist
1 parent 51dcf9c commit 615cca3
Copy full SHA for 615cca3

File tree

3 files changed

+19
-17
lines changed
Filter options

3 files changed

+19
-17
lines changed

‎.travis.yml

Copy file name to clipboardExpand all lines: .travis.yml
+17-15Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -647,22 +647,21 @@ jobs:
647647
before_install: |
648648
set -e
649649
650-
# Check out and prepare the source
651-
# Multibuild doesn't have releases, so --depth would break eventually (see
652-
# https://superuser.com/questions/1240216/server-does-not-allow-request-for-unadvertised)
653-
git submodule update --init multibuild
654-
655-
source multibuild/common_utils.sh
650+
if [[ $SDIST == 0 ]]; then
651+
# Check out and prepare the source
652+
# Multibuild doesn't have releases, so --depth would break eventually (see
653+
# https://superuser.com/questions/1240216/server-does-not-allow-request-for-unadvertised)
654+
git submodule update --init multibuild
656655
657-
# https://github.com/matthew-brett/multibuild/issues/116
658-
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export ARCH_FLAGS=" "; fi
656+
source multibuild/common_utils.sh
659657
660-
source multibuild/travis_steps.sh
661-
# This sets -x
662-
source travis_multibuild_customize.sh
658+
# https://github.com/matthew-brett/multibuild/issues/116
659+
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export ARCH_FLAGS=" "; fi
663660
664-
if [[ $SDIST == 0 ]]; then
661+
source multibuild/travis_steps.sh
662+
# This sets -x
665663
664+
source travis_multibuild_customize.sh
666665
echo $ENABLE_CONTRIB > contrib.enabled
667666
echo $ENABLE_HEADLESS > headless.enabled
668667
@@ -702,12 +701,15 @@ install: |
702701
703702
script: |
704703
# Install and run tests
705-
if [[ $SDIST == 0 ]]; then
706-
set -x
704+
set -x
705+
if [[ $SDIST == 1 ]]; then
706+
echo "skipping tests because of sdist"
707+
else
707708
install_run $PLAT && rc=$? || rc=$?
708-
set +x
709709
fi
710710
711+
set +x
712+
711713
#otherwise, Travis logic terminates prematurely
712714
#https://travis-ci.community/t/shell-session-update-command-not-found-in-build-log-causes-build-to-fail-if-trap-err-is-set/817
713715
trap ERR

‎appveyor.yml

Copy file name to clipboardExpand all lines: appveyor.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ build_script:
141141
- cmd: |
142142
"%PYTHON%/python.exe" -m pip install --upgrade pip
143143
"%PYTHON%/python.exe" -m pip install --upgrade setuptools
144-
"%PYTHON%/python.exe" -m pip wheel . --verbose
144+
"%PYTHON%/python.exe" -m pip wheel . --verbose --wheel-dir=dist
145145
146146
before_test:
147147
- ps: |

‎travis_config.sh

Copy file name to clipboardExpand all lines: travis_config.sh
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ function bdist_wheel_cmd {
1414
# copied from multibuild's common_utils.sh
1515
# add osx deployment target so it doesnt default to 10.6
1616
local abs_wheelhouse=$1
17-
pip wheel . --no-build-isolation --verbose $BDIST_PARAMS
17+
pip wheel . --no-build-isolation --verbose --wheel-dir=dist $BDIST_PARAMS
1818
cp dist/*.whl $abs_wheelhouse
1919
if [ -n "$USE_CCACHE" -a -z "$BREW_BOOTSTRAP_MODE" ]; then ccache -s; fi
2020
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.