Skip to content

Commit

Permalink
MAINT: PR 12038 revisions
Browse files Browse the repository at this point in the history
* split up pip install commands when `PRE_WHEELS` may
be involved
  • Loading branch information
tylerjereddy committed May 9, 2020
1 parent 8d9d7b5 commit d1fbe11
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ env:
- PRE_WHEELS="https://pypi.anaconda.org/scipy-wheels-nightly/simple"
# Using a single thread can actually speed up some computations on Travis
- OPENBLAS_NUM_THREADS=1
- OTHERSPEC=""

matrix:
include:
Expand Down Expand Up @@ -56,6 +57,7 @@ matrix:
- TESTMODE=fast
- COVERAGE=
- NUMPYSPEC="--pre --upgrade --timeout=60 -i $PRE_WHEELS numpy"
- OTHERSPEC="--pre --upgrade --timeout=60"
# Need a test with most recent Python version where we build from an
# sdist (uses pip build isolation), to check that the version we
# specify in pyproject.toml (will be older than --pre --upgrade) works
Expand Down Expand Up @@ -87,6 +89,7 @@ matrix:
env:
- TESTMODE=full
- NUMPYSPEC="--pre --upgrade --timeout=60 -i $PRE_WHEELS numpy"
- OTHERSPEC="--pre --upgrade --timeout=60"
- NPY_USE_BLAS_ILP64=1
- python: 3.6
if: type = pull_request
Expand Down Expand Up @@ -166,7 +169,8 @@ before_install:
# Miniforge / conda-forge), so skip arm64 here
- |
if [[ "$TRAVIS_CPU_ARCH" != "arm64" ]]; then
travis_retry pip install --upgrade pip setuptools wheel $NUMPYSPEC cython pytest pytest-xdist mpmath argparse Pillow codecov gmpy2 pybind11
travis_retry pip install --upgrade pip setuptools wheel $OTHERSPEC cython pytest pytest-xdist mpmath argparse Pillow codecov gmpy2 pybind11
travis_retry pip install --upgrade $NUMPYSPEC
fi
- |
if [ -n "${USE_DEBUG}" ]; then
Expand Down

0 comments on commit d1fbe11

Please sign in to comment.