Problem: clang-tidy job is failing because package dependencies are outdated

Solution: update to llvm-toolchain-10
This commit is contained in:
Simon Giesecke 2020-06-19 17:25:58 +02:00
parent 522abc7376
commit 3135f6b503
2 changed files with 7 additions and 7 deletions

View File

@ -29,18 +29,18 @@ env:
matrix:
include:
- if: type = cron OR (branch =~ analyze$ AND type = push)
env: BUILD_TYPE=cmake CLANG_TIDY=/usr/bin/clang-tidy-8 CC=clang-8 CXX=clang++-8
env: BUILD_TYPE=cmake CLANG_TIDY=/usr/bin/clang-tidy-10 CC=clang-10 CXX=clang++-10
os: linux
compiler: clang
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-trusty-8
- llvm-toolchain-10
packages:
- clang-8
- clang-tools-8
- clang-tidy-8
- clang-10
- clang-tools-10
- clang-tidy-10
- env: BUILD_TYPE=default CURVE=tweetnacl IPv6=ON
os: linux
dist: precise

View File

@ -60,8 +60,8 @@ if [ -n "$CLANG_TIDY" ] ; then
MAKE_PREFIXES+=("${TRAVIS_BUILD_DIR}/bw-output")
fi
CMAKE_PREFIXES+=("scan-build-8")
MAKE_PREFIXES+=("scan-build-8")
CMAKE_PREFIXES+=("scan-build-10")
MAKE_PREFIXES+=("scan-build-10")
MAKE_PREFIXES+=("-plist-html")
SCAN_BUILD_OUTPUT="$(pwd)/scan-build-report"
MAKE_PREFIXES+=("-o ${SCAN_BUILD_OUTPUT}")