Skip to content

Commit

Permalink
Need the same HDF5 version as Modeller.
Browse files Browse the repository at this point in the history
  • Loading branch information
benmwebb committed Sep 16, 2016
1 parent 768d25b commit 00c4bb0
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,18 @@ python:
install:
- wget -q $LICENSE_URL -O mod-license >& /dev/null
- sudo apt-get -qq update
- sudo apt-get install -y libhdf5-serial-dev swig
- sudo apt-get install -y swig
- wget http://salilab.org/modeller/9.17/modeller_9.17-1_amd64.deb
- KEY_MODELLER=`cat mod-license` sudo dpkg -i modeller_9.17-1_amd64.deb
- ln -sf /usr/lib/python$TRAVIS_PYTHON_VERSION/dist-packages/_modeller.so $(dirname $(which python))/../lib/*/site-packages/
- ln -sf /usr/lib/python$TRAVIS_PYTHON_VERSION/dist-packages/modeller $(dirname $(which python))/../lib/*/site-packages/
- wget http://salilab.org/modeller/downloads/hdf5-1.8.16-headers-64bit-ubuntu.tar.gz
- tar -xzf hdf5-1.8.16-headers-64bit-ubuntu.tar.gz && mv hdf5-1.8.16-headers-64bit-ubuntu hdf5-inc
- export CMAKE_INCLUDE_PATH=`pwd`/hdf5-inc
- mkdir hdf5-libs
- ln -sf /usr/lib/modeller9.17/lib/x86_64-intel8/libhdf5_hl.so.10 hdf5-libs/libhdf5_hl.so
- ln -sf /usr/lib/modeller9.17/lib/x86_64-intel8/libhdf5.so.10 hdf5-libs/libhdf5.so
- export CMAKE_LIBRARY_PATH=`pwd`/hdf5-libs
script:
- mkdir build
- cd build
Expand Down

0 comments on commit 00c4bb0

Please sign in to comment.