Skip to content

Commit

Permalink
Update scanbuild job to clang 9
Browse files Browse the repository at this point in the history
  • Loading branch information
Algunenano committed Feb 21, 2020
1 parent 3770e50 commit 7ad488a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
7 changes: 5 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,11 @@ matrix:
- $HOME/.ccache
addons:
apt:
sources: *sources
packages: ['clang','ccache','doxygen']
sources:
- ubuntu-toolchain-r-test
- sourceline: 'deb https://apt.llvm.org/xenial/ llvm-toolchain-xenial-9 main'
key_url: 'https://apt.llvm.org/llvm-snapshot.gpg.key'
packages: ['clang-9', 'clang-tools-9', 'ccache','doxygen']
env:
- E="TOOL=autotools_scanbuild && BUILD_TYPE=Release && ARCH=-m64"

Expand Down
4 changes: 2 additions & 2 deletions tools/ci/script_autotools_scanbuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ fi
cd ${TRAVIS_BUILD_DIR}
./autogen.sh
cd -
${TRAVIS_BUILD_DIR}/configure CC=clang CXX=clang++ CXXFLAGS="-std=c++11"
scan-build --status-bugs make -j2
scan-build ${TRAVIS_BUILD_DIR}/configure CC=clang-9 CXX=clang++-9 CXXFLAGS="-std=c++11"
scan-build --keep-cc --status-bugs make -j2

0 comments on commit 7ad488a

Please sign in to comment.