Skip to content

Commit fc3da5b

Browse files
committed
update travis
1 parent 9df7bac commit fc3da5b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.travis.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ install:
3333
- conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION numpy scipy matplotlib pandas pytest h5py
3434
- source activate test-environment
3535
- pip install git+git://github.com/Theano/Theano.git
36-
36+
- pip install pytest-pep8
3737
# install PIL for preprocessing tests
3838
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
3939
conda install pil;
@@ -46,7 +46,6 @@ install:
4646
# install TensorFlow
4747
- pip install tensorflow
4848
- pip install tqdm
49-
- pip install theano
5049
- if [[ "$LEGACY_KERAS" == "1" ]]; then
5150
pip install keras==1.2.2;
5251
else
@@ -63,7 +62,7 @@ script:
6362
- sed -i -e 's/"backend":[[:space:]]*"[^"]*/"backend":\ "'$KERAS_BACKEND'/g' ~/.keras/keras.json;
6463
- echo -e "Running tests with the following config:\n$(cat ~/.keras/keras.json)"
6564
- if [[ "$TEST_MODE" == "PEP8" ]]; then
66-
PYTHONPATH=$PWD:$PYTHONPATH py.test --pep8 -m pep8 -n0;
65+
PYTHONPATH=$PWD:$PYTHONPATH py.test --pep8 -m pep8;
6766
else
6867
PYTHONPATH=$PWD:$PYTHONPATH py.test tests/;
6968
fi

0 commit comments

Comments
 (0)