Skip to content

Commit 299539d

Browse files
author
Clement Champetier
committed
Travis: fixed import of numpy
1 parent 675d6bc commit 299539d

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,10 @@ addons:
8282
- python-dev
8383
- python-imaging
8484
- python-numpy
85+
- python-scipy
8586
- python-nose
8687
- python3-dev
88+
- python3-numpy
8789
- python3-setuptools
8890
- python3-nose
8991
- libfreetype6-dev

tools/travis/install_dependencies.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,11 @@ if [[ ${TRAVIS_OS_NAME} == "linux" ]]; then
1010
# Install python packages to run sam command line
1111
if [[ ${PYTHON_VERSION} == "2.7" ]]; then
1212
pip install --user clint argcomplete
13-
# elif [[ ${PYTHON_VERSION} == "3.2" ]]; then
13+
pip install --user numpy
14+
elif [[ ${PYTHON_VERSION} == "3.2" ]]; then
1415
# easy_install3 pip --prefix=$HOME/local
1516
# pip3 install --user clint argcomplete
17+
pip3 install --user numpy
1618
fi
1719

1820
# Use TRAVIS_JOB_ID to detect that we are in travis.

0 commit comments

Comments
 (0)