error in conditional tf install Travis
@@ -48,10 +48,14 @@ install:
- conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION numpy scipy pyqt=4.11 matplotlib pandas h5py six
- source activate test-environment
# install TensorFlow
- - if [[ "$TRAVIS_PYTHON_VERSION" == "2.7"]]; then
- pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-$TENSORFLOW_V-cp27-none-linux_x86_64.whl;
- elif [[ "$TRAVIS_PYTHON_VERSION" == "3.5"]]; then
- pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-$TENSORFLOW_V-cp35-cp35m-linux_x86_64.whl;
+ - if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" && "$TENSORFLOW_V" == "1.0.1" ]]; then
+ pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.0.1-cp27-none-linux_x86_64.whl;
+ elif [[ "$TRAVIS_PYTHON_VERSION" == "2.7" && "$TENSORFLOW_V" == "1.1.0" ]]; then
+ pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.1.0-cp27-none-linux_x86_64.whl;
+ elif [[ "$TRAVIS_PYTHON_VERSION" == "3.5" && "$TENSORFLOW_V" == "1.0.1" ]]; then
+ pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.0.1-cp35-cp35m-linux_x86_64.whl;
+ elif [[ "$TRAVIS_PYTHON_VERSION" == "3.5" && "$TENSORFLOW_V" == "1.1.0" ]]; then
+ pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.1.0-cp35-cp35m-linux_x86_64.whl;
fi
- if [[ "$KERAS_BACKEND" == "theano" ]]; then
pip install theano;
