Apache DataFusion SQL Query Engine
ARROW-71: [C++] Add clang-tidy and clang-format to the the tool chain.
Micah Kornfield87926f7873fc
diff --git a/.travis.yml b/.travis.ymlindex d89a200b89..a0138a7959 100644--- a/.travis.yml+++ b/.travis.yml@@ -1,11 +1,14 @@sudo: required-dist: trusty+dist: preciseaddons:apt:sources:- ubuntu-toolchain-r-test- kalakris-cmake+ - llvm-toolchain-precise-3.7packages:+ - clang-format-3.7+ - clang-tidy-3.7- gcc-4.9 # Needed for C++11- g++-4.9 # Needed for C++11- gdbdiff --git a/ci/travis_script_cpp.sh b/ci/travis_script_cpp.shindex 997bdf35e8..c9b3b5f144 100755--- a/ci/travis_script_cpp.sh+++ b/ci/travis_script_cpp.sh@@ -7,6 +7,10 @@ set -epushd $CPP_BUILD_DIRmake lint+if [ $TRAVIS_OS_NAME == "linux" ]; then+ make check-format+ make check-clang-tidy+fictest -L unittest