Skip to content

Commit

Permalink
Travis: fixed import of numpy
Browse files Browse the repository at this point in the history
  • Loading branch information
Clement Champetier committed Jun 9, 2016
1 parent 675d6bc commit 299539d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,10 @@ addons:
- python-dev
- python-imaging
- python-numpy
- python-scipy
- python-nose
- python3-dev
- python3-numpy
- python3-setuptools
- python3-nose
- libfreetype6-dev
Expand Down
4 changes: 3 additions & 1 deletion tools/travis/install_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ if [[ ${TRAVIS_OS_NAME} == "linux" ]]; then
# Install python packages to run sam command line
if [[ ${PYTHON_VERSION} == "2.7" ]]; then
pip install --user clint argcomplete
# elif [[ ${PYTHON_VERSION} == "3.2" ]]; then
pip install --user numpy
elif [[ ${PYTHON_VERSION} == "3.2" ]]; then
# easy_install3 pip --prefix=$HOME/local
# pip3 install --user clint argcomplete
pip3 install --user numpy
fi

# Use TRAVIS_JOB_ID to detect that we are in travis.
Expand Down

0 comments on commit 299539d

Please sign in to comment.