Update Travis tests to Python 3.5. (#5150)
This commit is contained in:
parent
a5a775b79f
commit
2b674827c3
10
.travis.yml
10
.travis.yml
@ -9,11 +9,11 @@ matrix:
|
|||||||
env: KERAS_BACKEND=theano TEST_MODE=INTEGRATION_TESTS
|
env: KERAS_BACKEND=theano TEST_MODE=INTEGRATION_TESTS
|
||||||
- python: 2.7
|
- python: 2.7
|
||||||
env: KERAS_BACKEND=tensorflow
|
env: KERAS_BACKEND=tensorflow
|
||||||
- python: 3.4
|
- python: 3.5
|
||||||
env: KERAS_BACKEND=tensorflow
|
env: KERAS_BACKEND=tensorflow
|
||||||
- python: 2.7
|
- python: 2.7
|
||||||
env: KERAS_BACKEND=theano
|
env: KERAS_BACKEND=theano
|
||||||
- python: 3.4
|
- python: 3.5
|
||||||
env: KERAS_BACKEND=theano
|
env: KERAS_BACKEND=theano
|
||||||
install:
|
install:
|
||||||
# code below is taken from http://conda.pydata.org/docs/travis.html
|
# code below is taken from http://conda.pydata.org/docs/travis.html
|
||||||
@ -41,7 +41,7 @@ install:
|
|||||||
# install PIL for preprocessing tests
|
# install PIL for preprocessing tests
|
||||||
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
|
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
|
||||||
conda install pil;
|
conda install pil;
|
||||||
elif [[ "$TRAVIS_PYTHON_VERSION" == "3.4" ]]; then
|
elif [[ "$TRAVIS_PYTHON_VERSION" == "3.5" ]]; then
|
||||||
conda install Pillow;
|
conda install Pillow;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -50,8 +50,8 @@ install:
|
|||||||
# install TensorFlow
|
# install TensorFlow
|
||||||
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
|
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
|
||||||
pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.12.1-cp27-none-linux_x86_64.whl;
|
pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.12.1-cp27-none-linux_x86_64.whl;
|
||||||
elif [[ "$TRAVIS_PYTHON_VERSION" == "3.4" ]]; then
|
elif [[ "$TRAVIS_PYTHON_VERSION" == "3.5" ]]; then
|
||||||
pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.12.1-cp34-cp34m-linux_x86_64.whl;
|
pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.12.1-cp35-cp35m-linux_x86_64.whl;
|
||||||
fi
|
fi
|
||||||
# command to run tests
|
# command to run tests
|
||||||
script:
|
script:
|
||||||
|
Loading…
Reference in New Issue
Block a user