This repository was archived by the owner on Feb 15, 2023. It is now read-only.
File tree 2 files changed +17
-7
lines changed
2 files changed +17
-7
lines changed Original file line number Diff line number Diff line change 3
3
- REPO_DIR=scipy
4
4
- BUILD_COMMIT=v0.17.1
5
5
- 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.
9
6
- NP_BUILD_DEP="numpy==1.7.1"
10
7
- NP_TEST_DEP="numpy==1.7.1"
11
8
- UNICODE_WIDTH=32
@@ -51,11 +48,13 @@ matrix:
51
48
- os : linux
52
49
python : 3.5
53
50
env :
51
+ - NP_BUILD_DEP=numpy==1.9.3
54
52
- NP_TEST_DEP=numpy==1.9.3
55
53
- os : linux
56
54
python : 3.5
57
55
env :
58
56
- PLAT=i686
57
+ - NP_BUILD_DEP=numpy==1.9.3
59
58
- NP_TEST_DEP=numpy==1.9.3
60
59
- os : osx
61
60
language : objective-c
@@ -70,6 +69,10 @@ matrix:
70
69
language : objective-c
71
70
env :
72
71
- 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
73
76
- NP_TEST_DEP=numpy==1.9.3
74
77
75
78
before_install :
Original file line number Diff line number Diff line change @@ -8,16 +8,23 @@ function pre_build {
8
8
sudo installer -pkg archives/gfortran-4.2.3.pkg -target /
9
9
else
10
10
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
11
17
fi
12
18
}
13
19
14
20
function run_tests {
15
21
# Runs tests on installed distribution from an empty directory
22
+ test_cmd=" import sys; import scipy; sys.exit(not scipy.test('full').wasSuccessful())"
16
23
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 "
21
28
fi
22
29
# Show BLAS / LAPACK used
23
30
python -c ' import scipy; scipy.show_config()'
You can’t perform that action at this time.
0 commit comments