Skip to content
This repository was archived by the owner on May 3, 2023. It is now read-only.

Daily 3.8 #63

Merged
merged 13 commits into from
Oct 15, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 11 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ matrix:
# Exclude the default Python 3.5 build
- python: 3.5
include:
- os: linux
env:
- MB_PYTHON_VERSION=3.8
- NP_BUILD_DEP="numpy==1.18.0.dev0"
- NP_TEST_DEP="numpy==1.18.0.dev0"

- os: linux
env:
- MB_PYTHON_VERSION=3.5
Expand All @@ -47,6 +53,9 @@ matrix:
env:
- MB_PYTHON_VERSION=3.5
- MB_PYTHON_OSX_VER=10.6 # no python.org 10.9 builds for 3.5
# WAR for setup_requires TLS issue with Python 3.5 on macOS
# see https://github.com/pandas-dev/pandas/issues/28954
- EXTRA_BUILD_DEP="setuptools_scm"
- os: osx
language: generic
env:
Expand All @@ -64,10 +73,8 @@ before_install:
- python -c "import fcntl; fcntl.fcntl(1, fcntl.F_SETFL, 0)"
- CONTAINER="pre-release";
- BUILD_COMMIT=$BUILD_COMMIT;
- BUILD_DEPENDS="$NP_BUILD_DEP Cython==0.28.2"
# binary-only for cryptogrpahy. See https://github.com/pandas-dev/pandas/issues/26589
# Moto picks it up, and they don't distribute 32-bit wheels.
- TEST_DEPENDS="$NP_TEST_DEP pytest>=4.0.2 pytest-xdist pytest-mock moto hypothesis>=3.58 wheel==0.31.1 cryptography --only-binary=cryptography"
- BUILD_DEPENDS="$NP_BUILD_DEP $EXTRA_BUILD_DEP Cython"
- TEST_DEPENDS="$NP_TEST_DEP pytest>=4.0.2 pytest-xdist hypothesis"
- source multibuild/common_utils.sh
- source multibuild/travis_steps.sh
- before_install
Expand Down
11 changes: 11 additions & 0 deletions config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,17 @@ function build_wheel {
build_bdist_wheel $@
}


function pip_opts {
# Add pre-release index until official NumPy release with 3.8
if [ -n "$MANYLINUX_URL" ]; then
echo "--find-links $MANYLINUX_URL --find-links=https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackcdn.com"
else
echo "--find-links=https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackcdn.com"
fi
}


function run_tests {
# Runs tests on installed distribution from an empty directory
export PYTHONHASHSEED=$(python -c 'import random; print(random.randint(1, 4294967295))')
Expand Down