Skip to content

Commit

Permalink
.travis.yml: Manually install mkl
Browse files Browse the repository at this point in the history
The py2 build using the theano backend breaks unless mkl is installed
manually.
  • Loading branch information
clbarnes committed Jan 9, 2018
1 parent 4dca2ad commit b3404db
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ install:

- conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION numpy scipy matplotlib pandas pytest h5py
- source activate test-environment
# Prevent py2 theano build getting upset
- conda install -q -y mkl-service
- pip install git+git://github.com/Theano/Theano.git
- pip install keras

Expand All @@ -52,4 +54,4 @@ script:
- echo -e "Running tests with the following config:\n$(cat ~/.keras/keras.json)"
PYTHONPATH=../$PWD:$PYTHONPATH py.test tests/;
after_success:
- coveralls
- coveralls

0 comments on commit b3404db

Please sign in to comment.