This repository was archived by the owner on Feb 15, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +17
-7
lines changed
Expand file tree Collapse file tree 2 files changed +17
-7
lines changed Original file line number Diff line number Diff line change 33 - REPO_DIR=scipy
44 - BUILD_COMMIT=v0.17.1
55 - PLAT=x86_64
6- # OSX build of scipy on Python 3.5 needs patched 1.7.1 wheel to avoid
7- # https://github.com/numpy/numpy/issues/6204. Patched numpy 1.7.1
8- # wheel for Python 3.5 at nipy manylinux URL.
96 - NP_BUILD_DEP="numpy==1.7.1"
107 - NP_TEST_DEP="numpy==1.7.1"
118 - UNICODE_WIDTH=32
@@ -51,11 +48,13 @@ matrix:
5148 - os : linux
5249 python : 3.5
5350 env :
51+ - NP_BUILD_DEP=numpy==1.9.3
5452 - NP_TEST_DEP=numpy==1.9.3
5553 - os : linux
5654 python : 3.5
5755 env :
5856 - PLAT=i686
57+ - NP_BUILD_DEP=numpy==1.9.3
5958 - NP_TEST_DEP=numpy==1.9.3
6059 - os : osx
6160 language : objective-c
@@ -70,6 +69,10 @@ matrix:
7069 language : objective-c
7170 env :
7271 - TRAVIS_PYTHON_VERSION=3.5
72+ # OSX build of scipy on Python 3.5 needs built 1.8.2 wheel to avoid
73+ # https://github.com/numpy/numpy/issues/6204. numpy 1.8.2 wheel for
74+ # Python 3.5 at nipy manylinux URL.
75+ - NP_BUILD_DEP=numpy==1.8.2
7376 - NP_TEST_DEP=numpy==1.9.3
7477
7578before_install :
Original file line number Diff line number Diff line change @@ -8,16 +8,23 @@ function pre_build {
88 sudo installer -pkg archives/gfortran-4.2.3.pkg -target /
99 else
1010 build_openblas
11+ # Force scipy to use OpenBLAS regardless of what numpy uses
12+ cat << EOF > $HOME /site.cfg
13+ [openblas]
14+ library_dirs = /usr/local/lib
15+ include_dirs = /usr/local/include
16+ EOF
1117 fi
1218}
1319
1420function run_tests {
1521 # Runs tests on installed distribution from an empty directory
22+ test_cmd=" import sys; import scipy; sys.exit(not scipy.test('full').wasSuccessful())"
1623 if [ -n " $IS_OSX " ]; then # Test both architectures on OSX
17- arch -i386 python -c ' import scipy; scipy.test("full") '
18- arch -x86_64 python -c ' import scipy; scipy.test("full") '
19- else # Test both architectures on OSX
20- python -c ' import scipy; scipy.test("full") '
24+ arch -i386 python -c " $test_cmd "
25+ arch -x86_64 python -c " $test_cmd "
26+ else # Not OSX
27+ python -c " $test_cmd "
2128 fi
2229 # Show BLAS / LAPACK used
2330 python -c ' import scipy; scipy.show_config()'
You can’t perform that action at this time.
0 commit comments