Skip to content

Commit 6977dcd

Browse files
committed
update travis to install package deps
1 parent 3d62e40 commit 6977dcd

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.travis.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,18 +34,13 @@ install:
3434
- conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION numpy pytest pytest-pep8 pytest-cov matplotlib
3535
- source activate test-environment
3636
- pip install git+git://github.com/Theano/Theano.git
37-
- pip install keras
38-
39-
# install PIL for preprocessing tests
40-
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
41-
conda install pil;
42-
elif [[ "$TRAVIS_PYTHON_VERSION" == "3.5" ]]; then
43-
conda install Pillow;
44-
fi
4537

4638
# install TensorFlow
4739
- pip install tensorflow
4840

41+
# Install package and test requirements.
42+
- pip install -e .[tests]
43+
4944
script:
5045
# run keras backend init to initialize backend config
5146
- python -c "import keras.backend"

0 commit comments

Comments
 (0)