Unverified Commit bb3a8143 authored by Michał Karzyński's avatar Michał Karzyński Committed by GitHub

[Travis] Check code style before build (#1015)

parent 2bfa0964
......@@ -29,6 +29,7 @@ COPY . /root/ngraph
RUN mkdir /root/ngraph/build
WORKDIR /root/ngraph/build
RUN cmake ../ -DNGRAPH_USE_PREBUILT_LLVM=TRUE
RUN make style-check
RUN make -j 8
RUN make install
......
......@@ -4,7 +4,7 @@ set -e
echo "TASK:" ${TASK}
if [ ${TASK} == "cpp_test" ]; then
docker run -w '/root/ngraph/build' test_ngraph make style-check check
docker run -w '/root/ngraph/build' test_ngraph make check
fi
if [ ${TASK} == "python2_test" ]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment