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

Commit f3cd45a

Browse files
committed
Fix numpy related build error and test config
1 parent d9cadf1 commit f3cd45a

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.travis.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ env:
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.
69
- NP_BUILD_DEP="numpy==1.7.1"
710
- NP_TEST_DEP="numpy==1.7.1"
811
- UNICODE_WIDTH=32
@@ -48,13 +51,11 @@ matrix:
4851
- os: linux
4952
python: 3.5
5053
env:
51-
- NP_BUILD_DEP=numpy==1.9.3
5254
- NP_TEST_DEP=numpy==1.9.3
5355
- os: linux
5456
python: 3.5
5557
env:
5658
- PLAT=i686
57-
- NP_BUILD_DEP=numpy==1.9.3
5859
- NP_TEST_DEP=numpy==1.9.3
5960
- os: osx
6061
language: objective-c
@@ -69,7 +70,6 @@ matrix:
6970
language: objective-c
7071
env:
7172
- TRAVIS_PYTHON_VERSION=3.5
72-
- NP_BUILD_DEP=numpy==1.9.3
7373
- NP_TEST_DEP=numpy==1.9.3
7474

7575
before_install:

config.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ function pre_build {
1313

1414
function run_tests {
1515
# Runs tests on installed distribution from an empty directory
16-
if [ -n "$IS_OSX" ]; then
17-
python -c 'import scipy; scipy.test("full")'
18-
else # Test both architectures on OSX
16+
if [ -n "$IS_OSX" ]; then # Test both architectures on OSX
1917
arch -i386 python -c 'import scipy; scipy.test("full")'
2018
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")'
2121
fi
2222
# Show BLAS / LAPACK used
2323
python -c 'import scipy; scipy.show_config()'

0 commit comments

Comments
 (0)