diff --git a/tools/docker-format/Dockerfile b/tools/docker-format/Dockerfile index 7023078b..ab6e3556 100644 --- a/tools/docker-format/Dockerfile +++ b/tools/docker-format/Dockerfile @@ -3,6 +3,6 @@ FROM ubuntu:cosmic RUN apt update && \ apt install -y clang-format golang git python-pip && \ go get -v github.com/bazelbuild/buildtools/buildifier && \ - pip install cmake_format + pip install cmake_format==0.4.5 CMD ["/bin/bash"] diff --git a/tools/travis/check_format.sh b/tools/travis/check_format.sh index 696fed94..c07ef8c2 100755 --- a/tools/travis/check_format.sh +++ b/tools/travis/check_format.sh @@ -21,6 +21,6 @@ if ! which buildifier >/dev/null; then go get -v github.com/bazelbuild/buildtools/buildifier fi # Install cmake-format. -pip install --user cmake_format +pip install --user cmake_format==0.4.5 # Check format. tools/format.sh