8000 [MRG+2] use manylinux dev wheels for numpy / scipy by matthew-brett · Pull Request #8536 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

[MRG+2] use manylinux dev wheels for numpy / scipy #8536

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
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
12 changes: 2 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,10 @@ cache:
addons:
apt:
packages:
# these only required by the DISTRIB="ubuntu" builds:
- python-scipy
- libatlas3gf-base
- libatlas-dev
# only required by the DISTRIB="ubuntu" build:
- python-scipy

env:
global:
# Directory where tests are run from
Expand Down Expand Up @@ -58,15 +57,8 @@ matrix:
# This environment tests scikit-learn against numpy and scipy master
# installed from their CI wheels in a virtualenv with the Python
# interpreter provided by travis.
# Note: libatlas3gf-base is not allowed yet so we need 'sudo':
# https://github.com/travis-ci/apt-package-whitelist/issues/2407
# Once libatlas3gf-base is on the whitelist it will be possible to replace
# the before_install step with and addons/apt/packages declaration.
- python: 3.5
env: DISTRIB="scipy-dev-wheels"
sudo: True
before_install: sudo apt-get install -yqq libatlas3gf-base libatlas-dev


install: source build_tools/travis/install.sh
script: bash build_tools/travis/test_script.sh
Expand Down
8 changes: 3 additions & 5 deletions build_tools/travis/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,9 @@ elif [[ "$DISTRIB" == "scipy-dev-wheels" ]]; then
source ~/testvenv/bin/activate
pip install --upgrade pip setuptools

# We use the default Python virtualenv provided by travis
echo "Installing numpy master wheel"
pip install --pre --upgrade --no-index --timeout=60 \
--trusted-host travis-dev-wheels.scipy.org \
-f https://travis-dev-wheels.scipy.org/ numpy scipy
echo "Installing numpy and scipy master wheels"
dev_url=https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackcdn.com
pip install --pre --upgrade --timeout=60 -f $dev_url numpy scipy
pip install nose nose-timer cython
fi

Expand Down
0