add keras to travis yaml

This commit is contained in:
farizrahman4u
2017-01-25 12:46:45 +05:30
parent 49bb2e4dbe
commit 97de6758ca
+2
View File
@@ -35,6 +35,7 @@ install:
- pip install pytest-cov python-coveralls pytest-xdist coverage==3.7.1 #we need this version of coverage for coveralls.io to work
- pip install pep8 pytest-pep8
- pip install git+git://github.com/Theano/Theano.git
- pip install git+git://github.com/fchollet/keras.git
# install PIL for preprocessing tests
#- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
@@ -51,6 +52,7 @@ install:
elif [[ "$TRAVIS_PYTHON_VERSION" == "3.5" ]]; then
pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.12.1-cp35-cp35m-linux_x86_64.whl;
fi
# command to run tests
script:
# run keras backend init to initialize backend config