[build] Add clang-tidy to Travis
This commit is contained in:
17
scripts/linux/tidy.sh
Executable file
17
scripts/linux/tidy.sh
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
set -o pipefail
|
||||
|
||||
# Ensure mason is on the PATH
|
||||
export PATH="`pwd`/.mason:${PATH}" MASON_DIR="`pwd`/.mason"
|
||||
|
||||
BUILDTYPE=${BUILDTYPE:-Release}
|
||||
|
||||
export CLANG_TIDY=clang-tidy-3.8
|
||||
|
||||
mapbox_time "config" \
|
||||
make config
|
||||
|
||||
mapbox_time "tidy" \
|
||||
make tidy
|
||||
Reference in New Issue
Block a user