Add libgcc to conda install to address issue 339
Work around version incompatibility between the scipy version in conda
and the system-provided /usr/lib/x86_64-linux-gnu/libstdc++.so.6
by installing a conda-provided libgcc and adding it to the load path
@@ -39,6 +39,7 @@ install:
- conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION numpy scipy pyqt=4.11 matplotlib pandas h5py six mkl-service
- source activate test-environment
+
# install TensorFlow
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" && "$TENSORFLOW_V" == "1.4.1" ]]; then
pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.4.1-cp27-none-linux_x86_64.whl;
@@ -52,6 +53,12 @@ install:
- pip install keras
- python setup.py install
+ # workaround for version incompatibility between the scipy version in conda
+ # and the system-provided /usr/lib/x86_64-linux-gnu/libstdc++.so.6
+ # by installing a conda-provided libgcc and adding it to the load path
+ - conda install libgcc
+ - export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/travis/miniconda/envs/test-environment/lib
+
# command to run tests
script:
# exit on first error
