diff options
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index 202242fa6..ab119272e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -39,6 +39,7 @@ addons: - libunistring-dev # for libidn2 needed by libpsl - libnss3-dev - gnutls-bin + - clang-tidy-6.0 matrix: include: @@ -137,6 +138,10 @@ matrix: compiler: clang dist: trusty env: T=fuzzer + - os: linux + compiler: clang + dist: trusty + env: T=tidy install: - if [ "$T" = "coverage" ]; then pip2 install --user cpp-coveralls; fi @@ -310,6 +315,12 @@ script: fi - | set -eo pipefail + if [ "$T" = "tidy" ]; then + ./configure --enable-warnings --enable-werror $C + make && make tidy + fi + - | + set -eo pipefail if [ "$T" = "iconv" ]; then source .travis-iconv-env.sh ./configure --enable-debug --enable-werror $C |