File tree 1 file changed +2
-3
lines changed
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ install:
33
33
- conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION numpy scipy matplotlib pandas pytest h5py
34
34
- source activate test-environment
35
35
- pip install git+git://github.com/Theano/Theano.git
36
-
36
+ - pip install pytest-pep8
37
37
# install PIL for preprocessing tests
38
38
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
39
39
conda install pil;
@@ -46,7 +46,6 @@ install:
46
46
# install TensorFlow
47
47
- pip install tensorflow
48
48
- pip install tqdm
49
- - pip install theano
50
49
- if [[ "$LEGACY_KERAS" == "1" ]]; then
51
50
pip install keras==1.2.2;
52
51
else
@@ -63,7 +62,7 @@ script:
63
62
- sed -i -e 's/"backend":[[:space:]]*"[^"]*/"backend":\ "'$KERAS_BACKEND'/g' ~/.keras/keras.json;
64
63
- echo -e "Running tests with the following config:\n$(cat ~/.keras/keras.json)"
65
64
- if [[ "$TEST_MODE" == "PEP8" ]]; then
66
- PYTHONPATH=$PWD:$PYTHONPATH py.test --pep8 -m pep8 -n0 ;
65
+ PYTHONPATH=$PWD:$PYTHONPATH py.test --pep8 -m pep8;
67
66
else
68
67
PYTHONPATH=$PWD:$PYTHONPATH py.test tests/;
69
68
fi
You can’t perform that action at this time.
0 commit comments