Skip to content

Commit

Permalink
fix failing Travis-CI build due to missing libgfortran #17
Browse files Browse the repository at this point in the history
- noted on  travis-ci/travis-ci#4816 and identified as a problem with conda
  packages numpy and scipy for Python 2.7 (see conda/conda#444)
- need to use numpy 1.9.2 without MKL
  - conda/conda#444 (which was only fixed for 1.5.1, 1.6.2, 1.7.1, 1.8.2, 1.9.2)
  - See mila-iqia/blocks#836 : @bartvm suggests to disable MKL in numpy 1.9.2
    because the MKL version is still missing the libgfortran.so.1 dependency.
- also updated scipy to 0.16.0
  • Loading branch information
orbeckst committed Sep 23, 2015
1 parent 031e707 commit 41b8d96
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ addons:
apt:
packages:
- gfortran
- libgfortran3
- liblapack-dev
- libatlas-dev
before_install:
Expand All @@ -16,7 +17,7 @@ before_install:
- export PATH=/home/travis/miniconda/bin:$PATH
- conda update --yes conda
install:
- conda create --yes -q -n pyenv mkl python=$TRAVIS_PYTHON_VERSION numpy=1.9.1 scipy=0.14.0 nose=1.3.7 six sphinx=1.3
- conda create --yes -q -n pyenv python=$TRAVIS_PYTHON_VERSION numpy=1.9.2 scipy=0.16.0 nose=1.3.7 six sphinx=1.3
- source activate pyenv
- case "$TRAVIS_PYTHON_VERSION" in 2.*) SPECIAL_PACKAGES="mock";; 3.*) SPECIAL_PACKAGES="";; esac
- pip install coveralls $SPECIAL_PACKAGES
Expand Down

0 comments on commit 41b8d96

Please sign in to comment.