Commit 8461b09 1 parent aefcd8b commit 8461b09 Copy full SHA for 8461b09
File tree 2 files changed +10
-3
lines changed
2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ install:
54
54
55
55
# install TensorFlow (CPU version).
56
56
- pip install tensorflow==1.9 --progress-bar off
57
-
57
+
58
58
# install cntk
59
59
- if [[ "$KERAS_BACKEND" == "cntk" ]] || [[ "$TEST_MODE" == "PEP8_DOC" ]]; then
60
60
./.travis/install_cntk.sh;
@@ -69,6 +69,8 @@ install:
69
69
- export APP_CHANGED=False;
70
70
- for entry in `git diff --name-only HEAD~1`; do if [[ "$entry" == "keras/applications/"* ]]; then export APP_CHANGED=True; fi; done
71
71
72
+ # install mkdocs
73
+ - pip install mkdocs --progress-bar off
72
74
73
75
# command to run tests
74
76
script :
@@ -83,7 +85,7 @@ script:
83
85
- if [[ "$TEST_MODE" == "INTEGRATION_TESTS" ]]; then
84
86
PYTHONPATH=$PWD:$PYTHONPATH py.test tests/integration_tests;
85
87
elif [[ "$TEST_MODE" == "PEP8_DOC" ]]; then
86
- PYTHONPATH=$PWD:$PYTHONPATH py.test --pep8 -m pep8 -n0 && py.test tests/test_documentation.py;
88
+ PYTHONPATH=$PWD:$PYTHONPATH py.test --pep8 -m pep8 -n0 && py.test tests/test_documentation.py && cd docs && python autogen.py && mkdocs build ;
87
89
else
88
90
PYTHONPATH=$PWD:$PYTHONPATH py.test tests/ --ignore=tests/integration_tests --ignore=tests/test_documentation.py --ignore=tests/keras/legacy/layers_test.py --cov-config .coveragerc --cov=keras tests/;
89
91
fi
Original file line number Diff line number Diff line change @@ -57,13 +57,18 @@ RUN conda install -y python=${python_version} && \
57
57
pyyaml \
58
58
scikit-learn \
59
59
six \
60
- theano && \
60
+ theano \
61
+ mkdocs \
62
+ && \
61
63
git clone git://github.com/keras-team/keras.git /src && pip install -e /src[tests] && \
62
64
pip install git+git://github.com/keras-team/keras.git && \
63
65
conda clean -yt
64
66
65
67
ADD theanorc /home/keras/.theanorc
66
68
69
+ ENV LC_ALL=C.UTF-8
70
+ ENV LANG=C.UTF-8
71
+
67
72
ENV PYTHONPATH='/src/:$PYTHONPATH'
68
73
69
74
WORKDIR /src
You can’t perform that action at this time.
0 commit comments